Alban Browaeys wrote: > udev use sh -e and fails in log_daemon_msg because pidof splashy fails . > The patch fix it (this only happens when splashy is started from > initramfs though the fix is rational in any case). > the patch:
--- lsb-base-logging.sh.orig 2008-03-28 13:28:53.000000000 +0100 +++ lsb-base-logging.sh 2008-03-28 13:26:57.000000000 +0100 @@ -114,7 +114,7 @@ # Splashy code # send log to splashy. it will show if F2 is pressed - pidof splashy > /dev/null && splashy_update "scroll $1: $2" + pidof splashy > /dev/null && splashy_update "scroll $1: $2" || true # Stop splashy on *dm case $2 in So it would be simpler to get rid of the "pidof splashy" call: splashy_update "scroll $1: $2" 2>/dev/null || true But doing some tests it looks like most (all?) shells don't treat a command that contains && as an error: $ cat zztest set -e pidof noprog && echo "noprog running" echo no error $ sh -x zztest + set -e + pidof noprog + echo no error no error Maybe there is some other problem? Maybe it's splashy_update that's failing? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]