From fe52fe9957ce904a57f856716046276e8db72697 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 7 Jun 2001 04:17:39 +0000 Subject: Fix for bug 21253: removing all single-parameter system() calls from Bugzilla Patch by Dave Miller r= tara@tequilarista.org --- checksetup.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'checksetup.pl') 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'; -- cgit v1.2.3-24-g4f1b