28 Jun
2005
28 Jun
'05
13:39
Bob Vickers wrote:
These mistakes would probably be avoided if people used set -o nounset in their scripts. It is like using -w in perl: why get your customers to debug your scripts if the interpreter does it for free?
That doesn't help as it only checks the code that is exectuted and not the whole script. If it triggers it terminates the script instantly whereas SuSEfirewall2 normally tries to set as much rules as possible despite errors. Furthermore there are many valid uses of unset variables, e.g. optional parameters. cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/