On Mon, Aug 25, 2008 at 06:46:50PM +0200, Michael Biebl wrote: > I guess this would work. Please keep in mind to never use "set -e" then, > otherwise your script will exit at this point if /lib/lsb/init-functions > doesn't exist.
Sure? [EMAIL PROTECTED]:~$ cat a.sh #!/bin/sh set -e [ -f foo ] && echo 1 echo 2 [EMAIL PROTECTED]:~$ sh a.sh 2 What did I miss? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]