From e060cdb530ba984703d56872672d1ec148291031 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Wed, 26 Mar 2014 10:13:56 -0400 Subject: [PATCH] Fixed an error that crept in while refactoring kvmsu into slicesu --- slicesu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slicesu b/slicesu index 15e5854..aec402c 100644 --- a/slicesu +++ b/slicesu @@ -53,7 +53,7 @@ def kvmsu(slice_name, args): if (ip_addr_part[0]=='(' and ip_addr_part[-1]==')'): ip_addr = ip_addr_part[1:len(ip_addr_part)-1] - os.execv('/usr/bin/ssh',['/usr/bin/ssh','-o','StrictHostKeyChecking=no','root@%s'%ip_addr,'"$@"']) + os.execv('/usr/bin/ssh',['/usr/bin/ssh','-o','StrictHostKeyChecking=no','root@%s'%ip_addr] + args.command_to_run) def lxcsu(slice_name, args): -- 2.43.0