diff options
author | Dubiousjim <dubiousjim@gmail.com> | 2013-07-05 00:21:11 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-08 14:47:39 +0000 |
commit | 3417b45a1b1777c51c307117cdf5016565563571 (patch) | |
tree | a84f4af4fe0e75a07f1f5b02d94c1015d84dec61 /abuild-sudo.c | |
parent | 607124c60c1e5b65dbe78d65269a75cc980e421c (diff) | |
download | abuild-3417b45a1b1777c51c307117cdf5016565563571.tar.gz abuild-3417b45a1b1777c51c307117cdf5016565563571.tar.bz2 abuild-3417b45a1b1777c51c307117cdf5016565563571.tar.xz abuild-3417b45a1b1777c51c307117cdf5016565563571.zip |
abuild-sudo, abuild-tar: cosmetic changes
Diffstat (limited to 'abuild-sudo.c')
-rw-r--r-- | abuild-sudo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild-sudo.c b/abuild-sudo.c index 3ba48e7..66f212a 100644 --- a/abuild-sudo.c +++ b/abuild-sudo.c @@ -68,7 +68,7 @@ int main(int argc, const char *argv[]) errx(1, "Not a member of group %s\n", ABUILD_GROUP); cmd = strrchr(argv[0], '-'); - if (cmd == NULL) + if (cmd == NULL) errx(1, "Calling command has no '-'"); cmd++; @@ -77,7 +77,7 @@ int main(int argc, const char *argv[]) errx(1, "%s: Not a valid subcommand", cmd); argv[0] = path; - /* set our uid to root soo bbsuid --install works */ + /* set our uid to root so bbsuid --install works */ setuid(0); execv(path, (char * const*)argv); perror(path); |