]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
print unknown state to stdout as well
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Sep 2011 11:29:10 +0000 (11:29 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Sep 2011 11:29:10 +0000 (11:29 +0000)
svn-id: @12341

service

diff --git a/service b/service
index e77fb46024e54aa6142b886c22a781aefe46e947..5567c74488c8cd835648ae62d77f7831f3cb8c62 100755 (executable)
--- a/service
+++ b/service
@@ -35,7 +35,7 @@ status_all() {
                        fi
                        if ! grep -qs "\Wstatus)" "$SERVICE"; then
                                #printf " %s %-60s %s\n" "[?]" "$SERVICE:" "unknown" 1>&2
-                               echo " [ ? ]{$TYPE} $SERVICE" 1>&2
+                               echo " [ ? ]{$TYPE} $SERVICE"
                                continue
                        else
                                out=$(env -i USE_UPSTART=$USE_UPSTART LANG="$LANG" PATH="$PATH" TERM="$TERM" "$SERVICEDIR/$SERVICE" status 2>&1)
This page took 0.028893 seconds and 4 git commands to generate.