[PATCH] The return value of the argument error of option is wrong in virt-install.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux