diff options
-rw-r--r-- | instance.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |