Commit 38ab58a5 authored by Natanael Copa's avatar Natanael Copa

abuild-sudo: print error message if execv fails

parent 67e769e6
......@@ -49,7 +49,6 @@ int is_in_group(gid_t group)
return i < ngroups;
int main(int argc, const char *argv[])
......@@ -77,5 +76,6 @@ int main(int argc, const char *argv[])
/* set our uid to root soo bbsuid --install works */
execv(path, (char * const*)argv);
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment