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:
committed by
Christian Boltz
parent
b714cf1b0d
commit
0b18e57cc5
@@ -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++;
|
||||
|
Reference in New Issue
Block a user