2006-04-23 15:32:22 by steve
BUGFIX: Correctly detect the use of $passwd
This commit is contained in:
@@ -72,7 +72,7 @@ if ( ( -e "/etc/sudoers" ) && ( -x $prefix . "/usr/bin/apt-get" ) )
|
||||
# Now modify the password file *unless* the "--passwd" option
|
||||
# was given.
|
||||
#
|
||||
if ( ! ENV{'passwd'} )
|
||||
if ( ! $ENV{'passwd'} )
|
||||
{
|
||||
open( ORIG, "<", "/etc/passwd" )
|
||||
or die "Failed to open /etc/passwd - $!";
|
||||
|
||||
Reference in New Issue
Block a user