summaryrefslogtreecommitdiffstats
path: root/TraceScreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'TraceScreen.c')
-rw-r--r--TraceScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 6bb2e041..318b9091 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -96,7 +96,7 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
this->child = fork();
if (this->child == -1) return false;
if (this->child == 0) {
- (void) seteuid(getuid());
+ CRT_dropPrivileges();
dup2(this->fdpair[1], STDERR_FILENO);
int ok = fcntl(this->fdpair[1], F_SETFL, O_NONBLOCK);
if (ok != -1) {