On Fri, Jul 07, 2000 at 05:18:59PM -0700, tony mancill wrote:
> There are two ways around this, but both would require a bit of policy.  
> First, we could force the init.d scripts to use the -u command line option
> to the shell.  (If an unset variable is referenced, the script will die. -
> sorta like -e for the inst scripts.)

That's way evil.  It's perfectly legitimate to test for variable nullity
with mechanisms like this:

if [ "$FOO" ]; then
  do_something
else
  do_something_else
fi

-- 
G. Branden Robinson             |   It's not a matter of alienating authors.
Debian GNU/Linux                |   They have every right to license their
[EMAIL PROTECTED]              |   software however we like.
http://www.debian.org/~branden/ |   -- Craig Sanders, in debian-devel

Attachment: pgpe3OSHMyoyM.pgp
Description: PGP signature

Reply via email to