From: Roland McGrath Date: Wed, 16 Feb 2005 11:14:30 +0000 (+0000) Subject: 2005-02-07 Jakub Jelinek X-Git-Tag: cvs/fedora-glibc-2_3-20050216T1256~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc2787411827994d0315ec33ea92a9eada74c02e;p=thirdparty%2Fglibc.git 2005-02-07 Jakub Jelinek [BZ #742] * nscd/nscd.init (reload): Print Reloading nscd: before and a newline after the status string printed by killproc. --- diff --git a/nscd/nscd.init b/nscd/nscd.init index d5c1cb9ae31..23e20c3a82a 100644 --- a/nscd/nscd.init +++ b/nscd/nscd.init @@ -88,9 +88,9 @@ case "$1" in RETVAL=$? ;; status) - status nscd + status nscd RETVAL=$? - ;; + ;; restart) restart RETVAL=$? @@ -100,9 +100,11 @@ case "$1" in RETVAL=$? ;; reload) - killproc /usr/sbin/nscd -HUP + echo -n $"Reloading $prog: " + killproc /usr/sbin/nscd -HUP RETVAL=$? - ;; + echo + ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" RETVAL=1