From 5851c34c3ae60491401eed467fcc39273c0b738e Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 29 May 2013 15:30:03 +0200 Subject: [PATCH] define a default for 'arch' as I find it sometimes undefined --- lxcsu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lxcsu b/lxcsu index 9282a9a..97600cf 100644 --- a/lxcsu +++ b/lxcsu @@ -56,6 +56,9 @@ except: slice_spec = None +# xxx fixme xxx - provide a default as this is not always properly computed +arch = 'x86_64' + for e in output: try: l = e.rstrip() @@ -135,7 +138,6 @@ if (not umount('/sys/fs/cgroup')): pid = os.fork() -#arch = 'x86_64' if (pid == 0): cap_arg = '--drop='+drop_capabilities -- 2.43.0