git://git.onelab.eu
/
lxc-userspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a082d
)
define a default for 'arch' as I find it sometimes undefined
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 29 May 2013 13:30:03 +0000
(15:30 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 29 May 2013 13:30:03 +0000
(15:30 +0200)
lxcsu
patch
|
blob
|
history
diff --git
a/lxcsu
b/lxcsu
index
9282a9a
..
97600cf
100644
(file)
--- 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