nspawn: don't skip cleanup on locking error

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-07-22 20:28:57 -04:00
parent 92dfd88bc9
commit 476b8254d9

View File

@@ -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) {