[yast-commit] r39308 - /trunk/yast2/library/runlevel/src/Service.ycp
Author: locilka Date: Wed Jul 11 08:54:30 2007 New Revision: 39308 URL: http://svn.opensuse.org/viewcvs/yast?rev=39308&view=rev Log: If either stderr or stdout (or both) is open, script in .background agent is evaluated as still running Modified: trunk/yast2/library/runlevel/src/Service.ycp Modified: trunk/yast2/library/runlevel/src/Service.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/runlevel/src/Service.ycp?rev=39308&r1=39307&r2=39308&view=diff ============================================================================== --- trunk/yast2/library/runlevel/src/Service.ycp (original) +++ trunk/yast2/library/runlevel/src/Service.ycp Wed Jul 11 08:54:30 2007 @@ -313,7 +313,7 @@ boolean cont_loop = true; // while continuing is needed and while it is possible - while (cont_loop && ((boolean) SCR::Read(.background.output_open))) { + while (cont_loop && ((boolean) SCR::Read(.background.output_open) || (boolean) SCR::Read(.background.output_open_err))) { if (time_spent >= script_time_out) { y2error("Command '%1' timed-out after %2 mces", command, time_spent); cont_loop = false; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org