aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-06-17 13:51:08 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-06-17 13:51:08 +0000
commit52349e3c25dd905a9c4d65eb46b210014140a30a (patch)
treefdf4df62ed0e5857073ec715b118ed1a84cf1416
parentb0ef55043929226c473127625f8117684819bf44 (diff)
downloadinitscripts-52349e3c25dd905a9c4d65eb46b210014140a30a.tar
initscripts-52349e3c25dd905a9c4d65eb46b210014140a30a.tar.gz
initscripts-52349e3c25dd905a9c4d65eb46b210014140a30a.tar.bz2
initscripts-52349e3c25dd905a9c4d65eb46b210014140a30a.tar.xz
initscripts-52349e3c25dd905a9c4d65eb46b210014140a30a.zip
Fix daemon --pidfile=... (#195341, patch by Steven Augart
<saugart@mazunetworks.com>)
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 2e9573d6..1d1f44a9 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -200,7 +200,7 @@ daemon() {
shift 2
;;
--pidfile=?*)
- pid_file=${$1#--pidfile=}
+ pid_file=${1#--pidfile=}
shift
;;
--force)