2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

exit(1) in process_arg() if c == 0

(as discussed on https://gitlab.com/apparmor/apparmor/merge_requests/83)
This commit is contained in:
Christian Boltz
2018-03-25 23:05:03 +02:00
committed by Christian Boltz
parent b714cf1b0d
commit 0b18e57cc5

View File

@@ -329,7 +329,7 @@ static int process_arg(int c, char *optarg)
switch (c) {
case 0:
PERROR("Assert, in getopt_long handling\n");
exit(0);
exit(1);
break;
case 'a':
count++;