]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-07 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:14:30 +0000 (11:14 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:14:30 +0000 (11:14 +0000)
[BZ #742]
* nscd/nscd.init (reload): Print Reloading nscd: before and a newline
after the status string printed by killproc.

nscd/nscd.init

index d5c1cb9ae31222da91ed808621ab4631b7a3a3d8..23e20c3a82ad173347e98060b5f50d50d224bb77 100644 (file)
@@ -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