summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--instance.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/instance.c b/instance.c
index b5ecad0..28e5c94 100644
--- a/instance.c
+++ b/instance.c
@@ -81,6 +81,9 @@ instance_run(struct service_instance *in)
argv[argc++] = blobmsg_data(cur);
argv[argc] = NULL;
+ close(STDIN_FILENO);
+ close(STDOUT_FILENO);
+ close(STDERR_FILENO);
execvp(argv[0], argv);
exit(127);
}