On Thu, 2005-09-29 at 22:50 +0200, Eduard Bloch wrote: > Package: xprint-common > Version: 1:0.1.0.alpha1-12 > Severity: grave > > Hello, > > the Xsession.d file tries run the init script but it cannot rely on its > existance since it is a conffile. I know of cases where the file was > _not_ executable which made Xsession fail because Overfiend insists on > using "set -e" there and your script is executed by the shell of > Xsession, not your own shebang interpreter. > > Obvious workaround: add a "|| true" statement. >
You mean change XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`" to XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist || true`" ? Easy enough to do of course, but since it would be preferable to actually run the script, wouldn't it be better to try XPSERVERLIST="`/bin/bash /etc/init.d/xprint get_xpserverlist`" instead? (Existence of the init script is already tested for). Drew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]