]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn.c
nspawn: better error messages for parsing errors 4332/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Oct 2016 15:22:45 +0000 (11:22 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Oct 2016 15:55:06 +0000 (11:55 -0400)
commitbe7157316ce44bdff9d89c138c6b98ae0e96b9e3
tree2ed133c0c44cd6abbe594a0bdf08a9668fb52e44
parentae209204d80043f75d71b38a4e98e676887155d8
nspawn: better error messages for parsing errors

In particular, the check for arg_uid_range <= 0 is moved to the end, so that
"foobar:0" gives "Failed to parse UID", and not "UID range cannot be 0.".
src/nspawn/nspawn.c