mirror of https://github.com/xzeldon/htop.git
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);
|
fprintf(stderr, "Error: invalid capabilities mode \"%s\".\n", mode);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
break;
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue