From 79b24f5b7978c6ccc00189c261901cf2c416bd94 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Jun 2009 23:11:16 +0100 Subject: hwclock now sends help to stderr. --- init.d/hwclock.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d') 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 -- cgit v1.2.3