Followup Id9f2fea7: Remove wall time restriction for readline.
[lhc/web/wiklou.git] / maintenance / Maintenance.php
index 45df0e9..a386bd8 100644 (file)
@@ -1210,7 +1210,7 @@ abstract class Maintenance {
                        $encPrompt = wfEscapeShellArg( $prompt );
                        $command = "read -er -p $encPrompt && echo \"\$REPLY\"";
                        $encCommand = wfEscapeShellArg( $command );
-                       $line = wfShellExec( "$bash -c $encCommand", $retval );
+                       $line = wfShellExec( "$bash -c $encCommand", $retval, array(), array( 'walltime' => 0 ) );
 
                        if ( $retval == 0 ) {
                                return $line;