aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-25 16:28:10 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-25 16:28:10 +0300
commitd039b6b354119ff8735e4992dbf06760ea28fa55 (patch)
treec3077709ec17795ebd1537c0f26ef4d2b2c5f1b8
parentac1d885f562d4c45069ef3f9460917153cad1344 (diff)
downloadtagr-d039b6b354119ff8735e4992dbf06760ea28fa55.tar.gz
tagr-d039b6b354119ff8735e4992dbf06760ea28fa55.tar.bz2
Yet another bugfix
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 55aefcb..9d9340c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -432,7 +432,7 @@ change_user ()
if (user == NULL)
return;
- if (getuid () == 0)
+ if (getuid ())
{
logmsg (L_NOTICE, "not a superuser: ignoring the `user' statement");
return;

Return to:

Send suggestions and report system problems to the System administrator.