aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2009-06-12 23:11:16 +0100
committerRoy Marples <roy@marples.name>2009-06-12 23:11:16 +0100
commit79b24f5b7978c6ccc00189c261901cf2c416bd94 (patch)
tree2fec9555b91181b1829caa3d9e18872b56bf3bb6 /init.d
parentfc6cdefedb0aa507bba3820b4853451baeba5bbb (diff)
hwclock now sends help to stderr.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/hwclock.in2
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