Author: locilka Date: Thu Apr 2 14:58:58 2009 New Revision: 56580 URL: http://svn.opensuse.org/viewcvs/yast?rev=56580&view=rev Log: Some more fixes ... Modified: trunk/backup/src/ui.ycp Modified: trunk/backup/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/backup/src/ui.ycp?rev=56580&r1=56579&r2=56580&view=diff ============================================================================== --- trunk/backup/src/ui.ycp (original) +++ trunk/backup/src/ui.ycp Thu Apr 2 14:58:58 2009 @@ -2093,10 +2093,7 @@ } if (Backup::cron_mode) { - // in cron mode only wait for subprocess - while ((string) SCR::Read (.process.read, backup_PID) != nil) { - sleep(wait_time); - } + sleep(wait_time); ret = nil; } else { @@ -2213,14 +2210,7 @@ if (Backup::cron_mode == true) { - // in cron mode only wait for subprocess - while ((boolean) SCR::Read (.process.running, backup_PID) || ! (boolean) SCR::Read (.process.buffer_empty, backup_PID)) - { - while ((string) SCR::Read (.process.read, backup_PID) != nil) { - // do nothing - } - sleep(wait_time); - } + sleep(wait_time); ret = nil; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org