summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-07 06:17:39 +0200
committerjustdave%syndicomm.com <>2001-06-07 06:17:39 +0200
commitfe52fe9957ce904a57f856716046276e8db72697 (patch)
treee575106f65a0cc96003f955837cd69dda7b2fbcc /checksetup.pl
parente1417d77ee61c777ae414590c220fca0d8da3dca (diff)
downloadbugzilla-fe52fe9957ce904a57f856716046276e8db72697.tar.gz
bugzilla-fe52fe9957ce904a57f856716046276e8db72697.tar.xz
Fix for bug 21253: removing all single-parameter system() calls from Bugzilla
Patch by Dave Miller <justdave@syndicomm.com> r= tara@tequilarista.org
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 672371fa6..68d72b39e 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1233,7 +1233,7 @@ CheckEnumField('bugs', 'rep_platform', @my_platforms);
# that login, if it doesn't exist already, and make it a member of all groups.
sub bailout { # this is just in case we get interrupted while getting passwd
- system("stty echo"); # re-enable input echoing
+ system("stty","echo"); # re-enable input echoing
exit 1;
}
@@ -1313,7 +1313,7 @@ _End_Of_SQL_
$SIG{QUIT} = \&bailout;
$SIG{TERM} = \&bailout;
- system("stty -echo"); # disable input echoing
+ system("stty","-echo"); # disable input echoing
while( $pass1 ne $pass2 ) {
while( $pass1 eq "" ) {
@@ -1334,7 +1334,7 @@ _End_Of_SQL_
}
}
- system("stty echo"); # re-enable input echoing
+ system("stty","echo"); # re-enable input echoing
$SIG{HUP} = 'DEFAULT'; # and remove our interrupt hooks
$SIG{INT} = 'DEFAULT';
$SIG{QUIT} = 'DEFAULT';