Unverified Commit 007bdc73 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Warning message for missing clock source (#1148)

parent 41fc0a6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ CLOCKSOURCE="tsc"
CLOCK="/sys/devices/system/clocksource/clocksource0/current_clocksource"

if [ ! -f "$CLOCK" ]; then
  warn "file \"$CLOCK\" cannot not found?"
  warn "file \"$CLOCK\" cannot be found?"
else
  result=$(<"$CLOCK")
  result="${result//[![:print:]]/}"