From 3e20b99168344d87f871360e9286c7419d6db6e8 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 26 Mar 2009 19:09:31 +0100 Subject: [PATCH 02/15] Redirect output to stderr --- config/ctdb.init | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/config/ctdb.init b/config/ctdb.init index bd020d5..133fa28 100755 --- a/config/ctdb.init +++ b/config/ctdb.init @@ -245,8 +245,9 @@ case "$1" in ctdb status > /dev/null || restart ;; *) - echo $"Usage: $0 {start|stop|restart|status|cron|condrestart}" + echo $"Usage: $0 {start|stop|restart|status|cron|condrestart}" >&2 exit 1 + ;; esac exit $? -- 1.6.2