[yast-commit] r63896 - /trunk/fcoe-client/src/FcoeClient.ycp
Author: gs Date: Wed May 4 10:12:28 2011 New Revision: 63896 URL: http://svn.opensuse.org/viewcvs/yast?rev=63896&view=rev Log: bugfix get DCB status Modified: trunk/fcoe-client/src/FcoeClient.ycp Modified: trunk/fcoe-client/src/FcoeClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/FcoeClient.ycp?rev=63896&r1=63895&r2=63896&view=diff ============================================================================== --- trunk/fcoe-client/src/FcoeClient.ycp (original) +++ trunk/fcoe-client/src/FcoeClient.ycp Wed May 4 10:12:28 2011 @@ -245,7 +245,9 @@ { // Status: Failed interface not DCB capable // Status: Successful - status = substring( line, 16 ); + line = deletechars ( line, " \t:" ); + status = substring( line, 6 ); + y2milestone( "Status: %1", status ); } } ); if ( status == "Successful" ) { @@ -254,8 +256,8 @@ } else { - y2error( "Error: %1", output["stderr"]:"" ); - Popup::Error ( output["stderr"]:"" ); + y2error( "Exit code: %1 Error: %2", output["exit"]:255, output["stderr"]:"" ); + // if ( output["stderr"]:"" != "" ) Popup::Error ( output["stderr"]:"" ); } return ret; -- 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