X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-x;h=024b41feefaa97356d3a39c29c32f20fa2beee22;hb=72c7d74dd72fa809befc2c7b111e0b27869d9c20;hp=995b4c4a04465a0039db24627a1188db9c7f2a75;hpb=07d8d459be9677710b14dec76e958f4bbabfac74;p=grml-x.git diff --git a/grml-x b/grml-x index 995b4c4..024b41f 100755 --- a/grml-x +++ b/grml-x @@ -24,6 +24,8 @@ class Section(object): v = self.data[k] if isinstance(v, list): v = '" "'.join(v) + elif not isinstance(v, basestring): # int, others + v = str(v) elif '-' in v: # sync range pass else: @@ -142,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)