summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4791c68bf..3c37698df 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3280,7 +3280,7 @@ prepare_server(parmp)
# ifdef FEAT_GUI
(gui.in_use
# ifdef UNIX
- && getuid() != 0
+ && getuid() != ROOT_UID
# endif
) ||
# endif