---
src/iptraf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/iptraf.c b/src/iptraf.c
index e0bb5c4..fb1d88f 100644
--- a/src/iptraf.c
+++ b/src/iptraf.c
@@ -496,7 +496,7 @@ int main(int argc, char **argv)
int current_log_interval = 0;
#ifndef ALLOWUSERS
- if (getuid() != 0) {
+ if (geteuid() != 0) {
fprintf(stderr, "\nIPTraf Version %s\n", VERSION);
fprintf(stderr, "Copyright (c) Gerard Paul Java 1997-2004l\n\n");
fprintf(stderr,
--
1.6.4.2