summaryrefslogtreecommitdiffstats
path: root/abuild-sudo.c
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-07-05 00:21:11 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-08 14:47:39 +0000
commit3417b45a1b1777c51c307117cdf5016565563571 (patch)
treea84f4af4fe0e75a07f1f5b02d94c1015d84dec61 /abuild-sudo.c
parent607124c60c1e5b65dbe78d65269a75cc980e421c (diff)
downloadabuild-3417b45a1b1777c51c307117cdf5016565563571.tar.bz2
abuild-3417b45a1b1777c51c307117cdf5016565563571.tar.xz
abuild-sudo, abuild-tar: cosmetic changes
Diffstat (limited to 'abuild-sudo.c')
-rw-r--r--abuild-sudo.c4
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);