FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 02-01-2008, 08:01 AM
"S.Sakamoto"
 
Default The return value of the argument error of option is wrong in virt-install.

Hi,

When I set a wrong value in option of virt-install,(ex. --cpuset=aaa, --mac=aaa)
Error message appears and a command is finished,
but the return value is 0.

So, I make the patch which improved this problem so that a user is not confused.


Thanks,
Shigeki Sakamoto

================================================== ========
diff -r 9eccd3abccb6 virt-install
--- a/virt-install Wed Jan 30 16:23:50 2008 -0500
+++ b/virt-install Thu Jan 31 16:07:44 2008 +0900
@@ -519,4 +519,5 @@ if __name__ == "__main__":
sys.exit(e.code)
except Exception, e:
logging.exception(e)
-
+ sys.exit(1)
+

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 02-01-2008, 08:01 AM
"S.Sakamoto"
 
Default The return value of the argument error of option is wrong in virt-install.

Hi,

When I set a wrong value in option of virt-install,(ex. --cpuset=aaa, --mac=aaa)
Error message appears and a command is finished,
but the return value is 0.

So, I make the patch which improved this problem so that a user is not confused.


Thanks,
Shigeki Sakamoto

================================================== ========
diff -r 9eccd3abccb6 virt-install
--- a/virt-install Wed Jan 30 16:23:50 2008 -0500
+++ b/virt-install Thu Jan 31 16:07:44 2008 +0900
@@ -519,4 +519,5 @@ if __name__ == "__main__":
sys.exit(e.code)
except Exception, e:
logging.exception(e)
-
+ sys.exit(1)
+

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 12:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org