Author: glen
Date: Sun Sep 11 13:29:10 2011
New Revision: 12341

Modified:
   rc-scripts/trunk/service
Log:
print unknown state to stdout as well

Modified: rc-scripts/trunk/service
==============================================================================
--- rc-scripts/trunk/service    (original)
+++ rc-scripts/trunk/service    Sun Sep 11 13:29:10 2011
@@ -35,7 +35,7 @@
                        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)
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to