Re: Getting signal 15 after boot
From: John Hasler (john_at_dhh.gt.org)
Date: 09/28/05
- Next message: Thomas Richter: "Re: Cannot burn DVD-R"
- Previous message: Enrique Perez-Terron: "Re: pam, ssh, user account vulnerability"
- In reply to: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Next in thread: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Reply: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Sep 2005 09:47:42 -0500
Peter T. Breuer writes:
> Quite what is a command (and thus what is "unexpected") when "-e" is set
> has never beenn obvious to me.
Anything which returns non-zero to the shell.
> Executing "foo" which gives error will bomb the script, but "foo || echo
> hi" will enable script survival.
Right, because "echo" returns zero to the shell. The shell never sees the
return from "foo". Thus if you want to ignore the return from "foo" you
write "foo || true".
-- John Hasler john@dhh.gt.org Dancing Horse Hill Elmwood, WI USA
- Next message: Thomas Richter: "Re: Cannot burn DVD-R"
- Previous message: Enrique Perez-Terron: "Re: pam, ssh, user account vulnerability"
- In reply to: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Next in thread: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Reply: Peter T. Breuer: "Re: Getting signal 15 after boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|