SVN: rc-scripts/trunk/service
glen
glen at pld-linux.org
Sun Sep 11 13:29:10 CEST 2011
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)
More information about the pld-cvs-commit
mailing list