Author: glen Date: Tue Nov 17 07:22:39 2009 New Revision: 10975 Modified: rc-scripts/trunk/rc.d/init.d/functions Log: - status -p shortopt for --pidfile
Modified: rc-scripts/trunk/rc.d/init.d/functions ============================================================================== --- rc-scripts/trunk/rc.d/init.d/functions (original) +++ rc-scripts/trunk/rc.d/init.d/functions Tue Nov 17 07:22:39 2009 @@ -815,7 +815,7 @@ status() { local pid subsys daemon cpuset_msg pidfile - if [ "$1" = "--pidfile" ]; then + if [ "$1" = "--pidfile" -o "$1" = "-p" ]; then pidfile=$2 [[ "$pidfile" != /* ]] && pidfile="/var/run/$pidfile" shift 2 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit