aboutsummaryrefslogtreecommitdiff
path: root/desiredata
diff options
context:
space:
mode:
Diffstat (limited to 'desiredata')
-rw-r--r--desiredata/src/s_inter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desiredata/src/s_inter.c b/desiredata/src/s_inter.c
index bfa32bf1..f0e41524 100644
--- a/desiredata/src/s_inter.c
+++ b/desiredata/src/s_inter.c
@@ -578,7 +578,9 @@ int sys_startgui() {
if (sys_hipriority == -1) sys_hipriority = !getuid() || !geteuid();
#endif
if (sys_hipriority) sys_setpriority();
+#ifndef MSW
setuid(getuid());
+#endif /* MSW */
return 0;
}