diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-10-29 15:41:31 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-10-29 15:42:05 +0100 |
commit | c87bc036071886feee5539ded847f1e9d72986de (patch) | |
tree | 7dfbc458ab22b21d5bb315ce54fe5913dd6d8eb5 | |
parent | b3f60b48501319e93e846bbf23881666cee947bc (diff) |
main: remove redundant error check in netifd_start_process
Detected by Coverity CID 1329378
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | main.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -173,9 +173,6 @@ netifd_start_process(const char **argv, char **env, struct netifd_process *proc) exit(127); } - if (pid < 0) - goto error; - close(pfds[1]); proc->uloop.cb = netifd_process_cb; proc->uloop.pid = pid; |