X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-x;h=5e325e1ca2b0193d304e0496c7711957092c03be;hb=25953d430c25969726d1fe1a635536fbec4e0a7c;hp=9944737e392461e45a9bc53e3383b337a3b971e8;hpb=82e874ef2c1216599f951526527bd27ac9a344e5;p=grml-x.git diff --git a/grml-x b/grml-x index 9944737..5e325e1 100755 --- a/grml-x +++ b/grml-x @@ -72,7 +72,7 @@ def build_bootparams(): params = {} for p in ' '.join(lines).split(' '): if '=' in p: - (k,v) = p.split('=', 2) + (k,v) = p.split('=', 1) params[k] = v else: params[p] = True @@ -144,7 +144,7 @@ def main(): (options, args) = parser.parse_args() bootparams = build_bootparams() - if os.getuid() == 0: + if os.getuid() == 0 and options.start_server: print "W: running as root is unsupported and may not work." time.sleep(1)