Unverified Commit 79bffcc4 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

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

parent f0b35881
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,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:]]/}"