[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@jp.fujitsu.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-06-29 14:25:07 +01:00
1 parent a8fac23038
commit 0e349a1b9b
1 file changed
+1 -1
+1 -1
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.