summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-14 00:16:02 (EDT)
committer P. J. McDermott <pjm@nac.net>2014-03-14 00:16:02 (EDT)
commit1a218ef744e9a70c8900fa26852240be03ef2c4e (patch)
tree50c4c7fe936db6711fda5bdfd593be6afd0631d9
parent8cc07f43ea327ac6c3929d8858ab1a9072cff815 (diff)
/etc/init.d/*: Add missing ">&2" redirections.
-rwxr-xr-xsrc.etc/init.d/httpd2
-rwxr-xr-xsrc.etc/init.d/klogd2
-rwxr-xr-xsrc.etc/init.d/mountall2
-rwxr-xr-xsrc.etc/init.d/syslog2
-rwxr-xr-xsrc.etc/init.d/telnetd2
5 files changed, 5 insertions, 5 deletions
diff --git a/src.etc/init.d/httpd b/src.etc/init.d/httpd
index 5f0106c..21b7c09 100755
--- a/src.etc/init.d/httpd
+++ b/src.etc/init.d/httpd
@@ -26,7 +26,7 @@ case "${1}" in
start
;;
*)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
+ printf 'Usage: %s {start|stop|restart}\n' "${0}" >&2
exit 1
;;
esac
diff --git a/src.etc/init.d/klogd b/src.etc/init.d/klogd
index dd9e10e..7747970 100755
--- a/src.etc/init.d/klogd
+++ b/src.etc/init.d/klogd
@@ -26,7 +26,7 @@ case "${1}" in
start
;;
*)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
+ printf 'Usage: %s {start|stop|restart}\n' "${0}" >&2
exit 1
;;
esac
diff --git a/src.etc/init.d/mountall b/src.etc/init.d/mountall
index 738caab..d3e65b5 100755
--- a/src.etc/init.d/mountall
+++ b/src.etc/init.d/mountall
@@ -14,7 +14,7 @@ case "${1}" in
stop)
;;
*)
- printf 'Usage: %s {start|stop}\n' "${0}"
+ printf 'Usage: %s {start|stop}\n' "${0}" >&2
exit 1
;;
esac
diff --git a/src.etc/init.d/syslog b/src.etc/init.d/syslog
index 3a3e980..86a8586 100755
--- a/src.etc/init.d/syslog
+++ b/src.etc/init.d/syslog
@@ -29,7 +29,7 @@ case "${1}" in
start
;;
*)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
+ printf 'Usage: %s {start|stop|restart}\n' "${0}" >&2
exit 1
;;
esac
diff --git a/src.etc/init.d/telnetd b/src.etc/init.d/telnetd
index 8ff32f0..d300c89 100755
--- a/src.etc/init.d/telnetd
+++ b/src.etc/init.d/telnetd
@@ -26,7 +26,7 @@ case "${1}" in
start
;;
*)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
+ printf 'Usage: %s {start|stop|restart}\n' "${0}" >&2
exit 1
;;
esac