diff options
-rw-r--r-- | init.d/hwclock.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/hwclock.in b/init.d/hwclock.in index d6bc38ad..3bb75a2d 100644 --- a/init.d/hwclock.in +++ b/init.d/hwclock.in @@ -118,7 +118,7 @@ stop() if ! yesno $clock_adjfile; then # Some implementations don't handle adjustments - if LC_ALL=C hwclock --help | grep -q "\-\-noadjfile"; then + if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then utc_cmd="$utc_cmd --noadjfile" fi fi |