nspawn: fix clobbering of selinux context arg

First bug fixed by gcc 7. Yikes.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-01-27 00:45:38 -05:00
parent 70954c50e7
commit 9ce6d1b319
1 changed files with 1 additions and 2 deletions

View File

@ -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;