mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-25 23:35:45 +00:00
Linux: fix --drop-capabilities
Do not return false (= argument not handled) when actually handled
This commit is contained in:
parent
6fd5b05151
commit
7b293dc3e2
@ -885,7 +885,7 @@ bool Platform_getLongOption(int opt, int argc, char** argv) {
|
||||
fprintf(stderr, "Error: invalid capabilities mode \"%s\".\n", mode);
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user