diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index ad0287dbf4..c0f99482c0 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1191,7 +1191,7 @@ static int register_machine(void) { "container", (uint32_t) 0, strempty(arg_directory), - 1, "Slice", "s", strempty(arg_slice)); + !isempty(arg_slice), "Slice", "s", arg_slice); if (r < 0) { log_error("Failed to register machine: %s", error.message ? error.message : strerror(-r)); return r; |