SVN: rc-scripts/trunk/rc.d/init.d/functions
glen
glen at pld-linux.org
Sun Sep 17 17:42:15 CEST 2006
Author: glen
Date: Sun Sep 17 17:42:13 2006
New Revision: 7769
Modified:
rc-scripts/trunk/rc.d/init.d/functions
Log:
Kill bogus +arg checks.
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 Sun Sep 17 17:42:13 2006
@@ -134,7 +134,7 @@
initlog()
{
RESULT=0
- while [ "$1" != "${1##-}" ] || [ "$1" != "${1##+}" ]; do
+ while [ "$1" != "${1##-}" ]; do
case $1 in
-c)
shift
@@ -562,7 +562,7 @@
return 2
fi
- while [ "$1" != "${1##-}" ] || [ "$1" != "${1##+}" ]; do
+ while [ "$1" != "${1##-}" ]; do
case $1 in
--pidfile)
shift
More information about the pld-cvs-commit
mailing list