diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index f22f40f3..3c9457a9 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -1031,7 +1031,7 @@ int main(int argc, char *argv[]) size_t i; struct sigaction new_action, old_action; const int signals[] = { SIGHUP, SIGINT, SIGTERM, SIGSEGV }; - uid_t myuid = geteuid(); + uid_t myuid = getuid(); /* Set signal handlers */ /* Set up the structure to specify the new action. */ |