1
0
mirror of synced 2026-02-02 14:30:57 +00:00

2006-04-23 15:32:22 by steve

BUGFIX:  Correctly detect the use of $passwd
This commit is contained in:
steve
2006-04-23 15:32:22 +00:00
parent 7fbb0fe5a0
commit b48027b989

View File

@@ -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 - $!";