Author: mvidner Date: Thu May 19 14:44:17 2011 New Revision: 64072 URL: http://svn.opensuse.org/viewcvs/yast?rev=64072&view=rev Log: Don't assume YaST has crashed if a YCP script returns false (bnc#645434). The pop-up that ensues is meant as a last-resort debugging aid, it is wrong to scare the user if there is no crash. Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes branches/SuSE-Code-11-SP2-Branch/yast2/scripts/yast2 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/VERSION?rev=64072&r1=64071&r2=64072&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/VERSION Thu May 19 14:44:17 2011 @@ -1 +1 @@ -2.17.94 +2.17.95 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes?rev=64072&r1=64071&r2=64072&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Thu May 19 14:44:17 2011 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu May 19 14:40:07 CEST 2011 - mvidner@suse.cz + +- Don't assume YaST has crashed (and scare the user with a pop-up) + simply if a YCP script returns false (bnc#645434). +- 2.17.95 + +------------------------------------------------------------------- Wed May 11 15:05:22 CEST 2011 - aschnell@suse.de - added snapper call to yast2 script Modified: branches/SuSE-Code-11-SP2-Branch/yast2/scripts/yast2 URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/scripts/yast2?rev=64072&r1=64071&r2=64072&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/scripts/yast2 (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/scripts/yast2 Thu May 19 14:44:17 2011 @@ -61,7 +61,7 @@ { # handily, exit_code is set to $? of y2base. # If there was an error and there is anything to display, pop up. - if [ $exit_code != 0 -a -s $ERRLOG ]; then + if [ $exit_code != 0 -a $exit_code != 16 -a -s $ERRLOG ]; then display_error_file $ERRLOG fi rm -f $ERRLOG -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org