On Fri, 2006-11-24 at 10:20:05 +0100, Marc Haber wrote: > On Fri, Nov 24, 2006 at 05:34:56AM +0200, Guillem Jover wrote: > > On Thu, 2006-10-05 at 11:39:43 +0200, Marc Haber wrote: > > > Package: dpkg > > > Version: 1.13.22 > > > Severity: wishlist > > > > > > There should be a possibility to get ahold of the exit code given by > > > the binary invoked by start-stop-daemon. > > > > In which conditions would you want that? If the binary supports > > daemonization we can only get the exit code if it exits before the > > daemonization.
> Yes, and that would be desireable. Some packages (ab)use s-s-d to > invoke a binary under a different account without creating syslog > entries that might be confusing to users, and when that binary returns > an exit code, we'd like to see it. Well, then I think I still don't understand what's the problem, if exim_tidydb is not daemonizing, then s-s-d will just exec it, and you'll get its exit code if it terminates. zulo:~# start-stop-daemon --start --exec /bin/true --chuid bin:bin;echo $? 0 zulo:~# start-stop-daemon --start --exec /bin/false --chuid bin:bin;echo $? 1 regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]