diff --git a/sbin/fireqos b/sbin/fireqos index cad832a4..54a07134 100755 --- a/sbin/fireqos +++ b/sbin/fireqos @@ -3278,7 +3278,7 @@ htb_stats() { trap cleanup_stats EXIT trap cleanup_stats SIGHUP - if [ `$DATE_CMD +%N` = "%N" ] + if [ "`$DATE_CMD +%N`" = "%N" -o "`$DATE_CMD +%N`" = "" ] then warning "System has low-res time, stats may be inaccurate" FIREQOS_LOWRES_TIMER=1