Skip to content

Commit

Permalink
ztrace: fix behavior change from util-linux 2.40
Browse files Browse the repository at this point in the history
Get rid of showing a human readable timestamp, we don't want/need it.
  • Loading branch information
zdykstra committed Jan 19, 2025
1 parent 23d6b18 commit e8c2f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zfsbootmenu/bin/ztrace
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cleanup() {
}

# Unusable for now with busybox-provided dmesg/less
if ! dmesg -T --time-format reltime -f user -l 7 >/dev/null 2>&1 ; then
if ! dmesg --time-format reltime -f user -l 7 >/dev/null 2>&1 ; then
exit 0
fi

Expand Down Expand Up @@ -41,4 +41,4 @@ while read -r line ; do
c="${o}"
done

done < <( dmesg -T --time-format reltime -f user -l 7 ) | less -R -S +G -M --use-color
done < <( dmesg --time-format reltime -f user -l 7 ) | less -R -S +G -M --use-color

0 comments on commit e8c2f4b

Please sign in to comment.