From c3a7c7a4e107daff5ba3663a34ec2efb836e8c0b Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Thu, 7 Jul 2005 02:29:55 +0000 Subject: error handling is your friend --- maintenance/mcc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'maintenance/mcc.php') diff --git a/maintenance/mcc.php b/maintenance/mcc.php index b7697c730bde..73b03a139880 100755 --- a/maintenance/mcc.php +++ b/maintenance/mcc.php @@ -19,6 +19,7 @@ do { $bad = false; $quit = false; $line = readconsole( "> " ); + if ($line === false) exit; $args = explode( " ", $line ); $command = array_shift( $args ); switch ( $command ) { -- cgit v1.2.3