mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- do_chroot: fixed suargs handling (patch by Olaf Hering <olaf@aepfle.de>)
This commit is contained in:
parent
143af44479
commit
7d46c5f879
@ -5421,7 +5421,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
cmd = [sucmd, 'chroot', buildroot, 'su', '-', user]
|
||||
if suargs:
|
||||
cmd.insert(1, suargs)
|
||||
cmd[1:1] = suargs.split()
|
||||
print 'running: %s' % ' '.join(cmd)
|
||||
os.execvp(sucmd, cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user