summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-07-23 10:10:53 +0200
committerGitHub <noreply@github.com>2016-07-23 10:10:53 +0200
commit1415e04603b7c243d70a70231d7d3eb184224597 (patch)
treefc4f6bef0fb8782665a90f015eacdb13e949cab4 /src/nspawn/nspawn.c
parent771de3f506ac5b9f5846acae70d8e558d969d018 (diff)
parent476b8254d95488d09eebdbd175494aaafac23a3e (diff)
Merge pull request #3785 from keszybz/less-return-errno
Use "return log_error_errno(...)" in more places + related fixes
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index da8bee3244..b1c012a9e4 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3553,7 +3553,7 @@ int main(int argc, char *argv[]) {
}
if (r < 0) {
log_error_errno(r, "Failed to lock %s: %m", arg_directory);
- return r;
+ goto finish;
}
if (arg_template) {