[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Claiming a binary name used in Sarge but not in Etch.



On Sun, Mar 18, 2007 at 09:50:16AM +0900, Charles Plessy wrote:
> 
> Oh, this is something I did not think about. But what is the set -e
> doing?
> 

   Every script you write should include set -e  at the top. This tells
   bash that it should exit the script if any statement returns a
   non-true return value. [0]

Regards,

-Roberto

[0] http://www.davidpashley.com/articles/writing-robust-shell-scripts.html

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: