summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp.c b/testapp.c
index 7e3fe0e..ea8081b 100644
--- a/testapp.c
+++ b/testapp.c
@@ -352,6 +352,10 @@ static pid_t start_server(in_port_t *port_out, bool daemon, int timeout) {
#ifdef MESSAGE_DEBUG
argv[arg++] = "-vvv";
#endif
+#ifdef HAVE_DROP_PRIVILEGES
+ argv[arg++] = "-o";
+ argv[arg++] = "relaxed_privileges";
+#endif
argv[arg++] = NULL;
assert(execv(argv[0], argv) != -1);
}