From: Sapan Bhatia Date: Tue, 18 Jun 2013 01:07:11 +0000 (-0400) Subject: Support lxcsu X-Git-Tag: lxc-userspace-1.0-2~8 X-Git-Url: http://git.onelab.eu/?p=lxc-userspace.git;a=commitdiff_plain;h=f0b64f14ca70b2c56506ef50bbaed17cb09df34f;hp=5a3481ee8610f14bd8cf0fd241d068b6c65ee45b Support lxcsu --- diff --git a/lxcsu b/lxcsu index 2ac7920..560b9bf 100755 --- a/lxcsu +++ b/lxcsu @@ -14,6 +14,9 @@ def main (): options = parser.parse_args() slice_name=options.slice_name commands = options.command_to_run + if (not commands): + commands = ['/bin/sh'] + exec_args = [LXCSU_INTERNAL,slice_name,'--'] exec_args+=commands