From 90c53d1655d9318d8e4610b7cda28333a8e53710 Mon Sep 17 00:00:00 2001 From: Liangent Date: Sun, 27 Jan 2013 14:15:45 +0800 Subject: [PATCH] Followup Id9f2fea7: Remove wall time restriction for readline. Using such restriction breaks the interactive user interface, and it doesn't make sense to have wall time limit when waiting for user input. Change-Id: Id8fa8e9f0d0df58aa879e7bc83bec2a55674b4ab --- maintenance/Maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 45df0e9df2..a386bd8827 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -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; -- 2.20.1