From b48027b989dd51999cdf59974d25d0d266f99d4e Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 23 Apr 2006 15:32:22 +0000 Subject: [PATCH] 2006-04-23 15:32:22 by steve BUGFIX: Correctly detect the use of $passwd --- etc/hook.d/60-copy-host-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/hook.d/60-copy-host-files b/etc/hook.d/60-copy-host-files index 6e56cb2..5cd4842 100755 --- a/etc/hook.d/60-copy-host-files +++ b/etc/hook.d/60-copy-host-files @@ -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 - $!";