Ahhh, my compile-time macros confused me...of course they did...
This commit is contained in:
parent
1ad541171e
commit
785684f6c2
|
@ -211,9 +211,9 @@ int main(int argc, char * * argv)
|
||||||
// Read the capabilities set on the file and raise them in to the
|
// Read the capabilities set on the file and raise them in to the
|
||||||
// Ambient set so the program we're wrapping receives the
|
// Ambient set so the program we're wrapping receives the
|
||||||
// capabilities too!
|
// capabilities too!
|
||||||
|
#ifdef WRAPPER_SETCAP
|
||||||
|
|
||||||
assert(!make_caps_ambient(selfPath));
|
assert(!make_caps_ambient(selfPath));
|
||||||
|
#endif
|
||||||
|
|
||||||
execve(sourceProg, argv, environ);
|
execve(sourceProg, argv, environ);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue