mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Hmm
This commit is contained in:
parent
e8bec4c75f
commit
1ad541171e
1 changed files with 3 additions and 2 deletions
|
@ -211,8 +211,9 @@ int main(int argc, char * * argv)
|
|||
// Read the capabilities set on the file and raise them in to the
|
||||
// Ambient set so the program we're wrapping receives the
|
||||
// capabilities too!
|
||||
if (strcmp(wrapperType, "setcap") == 0)
|
||||
assert(!make_caps_ambient(selfPath));
|
||||
|
||||
|
||||
assert(!make_caps_ambient(selfPath));
|
||||
|
||||
execve(sourceProg, argv, environ);
|
||||
|
||||
|
|
Loading…
Reference in a new issue