nspawn: fix misplaced parenthesis and merge two error handling paths
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Jul 2019 08:14:34 +0000 (10:14 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Jul 2019 09:35:04 +0000 (11:35 +0200)
commitfa8b675ae0c341daa141cce8783c106e048045e1
treed1f1610b1680d48952f9b7ebc0417ec94c92533e
parent622ecfa869047f9a62aa97895306f880d22f93bb
nspawn: fix misplaced parenthesis and merge two error handling paths

I don't think we need to provide the two separate error messages,
let's shorten the code a bit by merging them.

Coverity CID#1402320.
src/nspawn/nspawn-oci.c