The ocaml libraries in stretch understands only the variant
with separate arguments. So a build of this package for stretch
produces an error message and C xenstored instead of oxenstored.
Fix this here even in the buster branch since it makes backporting
easier.
Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" -- \
- $XENCONSOLED_ARGS --pid-file="$XENCONSOLED_PIDFILE" \
+ $XENCONSOLED_ARGS --pid-file "$XENCONSOLED_PIDFILE" \
|| return 2
}
if [ -x $try_xenstored ]; then
if start-stop-daemon --start --quiet \
--pidfile "$XENSTORED_PIDFILE" --exec "$try_xenstored" -- \
- $XENSTORED_ARGS --pid-file="$XENSTORED_PIDFILE"; then
+ $XENSTORED_ARGS --pid-file "$XENSTORED_PIDFILE"; then
started_xenstored=$try_xenstored
break
fi