diff options
author | justdave%syndicomm.com <> | 2001-06-07 04:17:39 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-06-07 04:17:39 +0000 |
commit | fe52fe9957ce904a57f856716046276e8db72697 (patch) | |
tree | e575106f65a0cc96003f955837cd69dda7b2fbcc /checksetup.pl | |
parent | e1417d77ee61c777ae414590c220fca0d8da3dca (diff) | |
download | bugs-fe52fe9957ce904a57f856716046276e8db72697.tar bugs-fe52fe9957ce904a57f856716046276e8db72697.tar.gz bugs-fe52fe9957ce904a57f856716046276e8db72697.tar.bz2 bugs-fe52fe9957ce904a57f856716046276e8db72697.tar.xz bugs-fe52fe9957ce904a57f856716046276e8db72697.zip |
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-x | checksetup.pl | 6 |
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'; |