X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=repo_shell.c;h=f6ef69fe6211438fdac72dc388422419a17b24ab;hb=b23a628665f06ad8954bb269d2552f63cb37dbac;hp=2785b848a85f89af063f280c57a9003f8c7ac928;hpb=63108e8ae2d30bd5fff42afa8966d106ce006bcd;p=repo_shell.git diff --git a/repo_shell.c b/repo_shell.c index 2785b84..f6ef69f 100644 --- a/repo_shell.c +++ b/repo_shell.c @@ -34,7 +34,7 @@ static void change_user(char *user) struct passwd *pw = getpwnam(user); if (!pw) - die("invalid user %s", pw->pw_name); + die("invalid user %s", user); setuid(pw->pw_uid); }