summaryrefslogtreecommitdiff
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
parentfc6cdefedb0aa507bba3820b4853451baeba5bbb (diff)
downloadopenrc-79b24f5b7978c6ccc00189c261901cf2c416bd94.tar.gz
openrc-79b24f5b7978c6ccc00189c261901cf2c416bd94.tar.bz2
openrc-79b24f5b7978c6ccc00189c261901cf2c416bd94.tar.xz
hwclock now sends help to stderr.
-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 d6bc38a..3bb75a2 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