[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XM] Fix argument check of the xm reboot command.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID c6ec3dd6fe7f3632fb384c5d814e6a5d92b4dbec # Parent 7d3df6492d7013f1d6c28c7aeea9743ba10649be [XM] Fix argument check of the xm reboot command. Maximum argument of the xm reboot command is three. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/python/xen/xm/main.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 7d3df6492d70 -r c6ec3dd6fe7f tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Thu Jun 29 14:22:56 2006 +0100 +++ b/tools/python/xen/xm/main.py Thu Jun 29 14:25:07 2006 +0100 @@ -565,7 +565,7 @@ def xm_vcpu_list(args): def xm_reboot(args): - arg_check(args, "reboot", 1, 4) + arg_check(args, "reboot", 1, 3) from xen.xm import shutdown shutdown.main(["shutdown", "-R"] + args) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |