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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit