summaryrefslogtreecommitdiff
path: root/abuild-sudo.c
diff options
context:
space:
mode:
Diffstat (limited to 'abuild-sudo.c')
-rw-r--r--abuild-sudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild-sudo.c b/abuild-sudo.c
index 8c61ad0..08477dc 100644
--- a/abuild-sudo.c
+++ b/abuild-sudo.c
@@ -49,7 +49,6 @@ int is_in_group(gid_t group)
free(buf);
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 */
setuid(0);
execv(path, (char * const*)argv);
+ perror(path);
return 1;
}