mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-08-29 04:07:02 +00:00
fix: Warning message for missing clock source (#1148)
This commit is contained in:
+1
-1
@@ -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:]]/}"
|
||||
|
||||
Reference in New Issue
Block a user