diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-27 00:45:38 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-31 14:04:55 -0500 |
commit | 9ce6d1b319f8655100af6ecf5fd57e4558d57dd1 (patch) | |
tree | 8634b888561bcf5ed2e47f246fb89708c1e721ab | |
parent | 70954c50e799fcf446544e69beb446e844e3596b (diff) |
nspawn: fix clobbering of selinux context arg
First bug fixed by gcc 7. Yikes.
-rw-r--r-- | src/nspawn/nspawn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 532be148a6..18d42908ff 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -676,9 +676,8 @@ static int parse_argv(int argc, char *argv[]) { r = free_and_strdup(&arg_machine, optarg); if (r < 0) return log_oom(); - - break; } + break; case 'Z': arg_selinux_context = optarg; |