summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-27 00:45:38 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-31 14:04:55 -0500
commit9ce6d1b319f8655100af6ecf5fd57e4558d57dd1 (patch)
tree8634b888561bcf5ed2e47f246fb89708c1e721ab /src
parent70954c50e799fcf446544e69beb446e844e3596b (diff)
nspawn: fix clobbering of selinux context arg
First bug fixed by gcc 7. Yikes.
Diffstat (limited to 'src')
-rw-r--r--src/nspawn/nspawn.c3
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;