This commit is contained in:
Parnell Springmeyer 2017-01-26 00:36:35 -08:00
parent e8bec4c75f
commit 1ad541171e
No known key found for this signature in database
GPG key ID: DCCF89258EAD874A

View file

@ -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);