[yast-commit] r66498 - /branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp
Author: gs Date: Thu Oct 20 14:01:03 2011 New Revision: 66498 URL: http://svn.opensuse.org/viewcvs/yast?rev=66498&view=rev Log: don't show error popup if dcbtool fails Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp Modified: branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp?rev=66498&r1=66497&r2=66498&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/fcoe-client/src/FcoeClient.ycp Thu Oct 20 14:01:03 2011 @@ -828,8 +828,8 @@ y2milestone( "Output: %1", output ); if ( output["exit"]:255 != 0 ) { - Popup::Error( sformat( _("Command: %1 failed"), command ) ); - y2error( "Command: %1 failed", command); + // only warning, not necessarily an error + y2warning( "Command: %1 failed", command); } // enable App:FCoE on the interface command = sformat( "dcbtool sc %1 app:0 e:1 a:1 w:1", card["dev_name"]:"" ); @@ -839,8 +839,8 @@ y2milestone( "Output: %1", output ); if ( output["exit"]:255 != 0 ) { - Popup::Error( sformat( _("Command: %1 failed"), command ) ); - y2error( "Command: %1 failed", command); + // only warning, not necessarily an error + y2warning( "Command: %1 failed", command); } } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org