Browse Source

Fixed xsd.initrc $ARGS passing

Russ Magee 1 year ago
parent
commit
15a1a39d81
1 changed files with 2 additions and 2 deletions
  1. 2 2
      xsd.initrc

+ 2 - 2
xsd.initrc

@@ -6,7 +6,7 @@ XSD_USER=root
 XSD_HOME=/var/run
 INST_PREFIX=/usr/local
 COMMAND=$INST_PREFIX/sbin/xsd
-ARGS=""
+ARGS="-L"
 
 depend() {
     need net
@@ -28,7 +28,7 @@ start() {
         -d ${XSD_HOME} \
         --make-pidfile --pidfile ${XSD_PIDFILE} \
         --start --quiet --background \
-        --exec "${COMMAND}" "${ARGS}"
+        --exec "${COMMAND}" -- "${ARGS}"
     eend $?
 }