Strange start-stop-daemon behavior breaking cipe-common's init.d script
I've installed cipe-common_1.5.4free-1. The init.d script is supposed
to loop through the peer option files and invoke start-stop-daemon for
each one:
start_all () {
for peer in $PEERS
do
echo -n "$peer "
start-stop-daemon --start -v --exec $DAEMON \
-- -o "$PEERDIR/$peer"
echo $0
done
}
However, when I run this it gets to the start-stop-daemon line, fails
silently (the side effect doesn't happen), and stops. It never gets to
the "echo $0" line.
If I execute the start-stop-daemon line myself on the command line, it
works.
I'm at a loss for how to debug this further. I'm a Debian newbie, so
any suggestions about a better way of asking for help are also welcome.
Thanks,
=Sulley=
Reply to: