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:
88ab453
)
support for centos 5.5 image
author
smbaker
<smbaker@fc8-storktest.lan>
Mon, 24 Jun 2013 20:29:44 +0000
(13:29 -0700)
committer
smbaker
<smbaker@fc8-storktest.lan>
Mon, 24 Jun 2013 20:29:44 +0000
(13:29 -0700)
lxcsu-internal
patch
|
blob
|
history
diff --git
a/lxcsu-internal
b/lxcsu-internal
index
184b68f
..
894b08e
100755
(executable)
--- a/
lxcsu-internal
+++ b/
lxcsu-internal
@@
-80,7
+80,7
@@
def main ():
slice_path = path
pid = slice_path.split('/')[2]
cmdline = open('/proc/%s/cmdline'%pid).read().rstrip('\n\x00')
- if (cmdline == '/sbin/init'):
+ if (cmdline == '/sbin/init')
or (cmdline.startswith("init ["))
:
slice_spec = slice_path
arch = getarch('/proc/%s/exe'%pid)
break