summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/runcmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index 1bd2ca1..ff1987f 100644
--- a/plugins/runcmd.c
+++ b/plugins/runcmd.c
@@ -114,10 +114,6 @@ np_runcmd_open(const char *cmdstring, int *pfd, int *pfderr)
114 env[0] = strdup("LC_ALL=C"); 114 env[0] = strdup("LC_ALL=C");
115 env[1] = '\0'; 115 env[1] = '\0';
116 116
117 /* if no command was passed, return with no error */
118 if (cmdstring == NULL)
119 return -1;
120
121 /* make copy of command string so strtok() doesn't silently modify it */ 117 /* make copy of command string so strtok() doesn't silently modify it */
122 /* (the calling program may want to access it later) */ 118 /* (the calling program may want to access it later) */
123 cmdlen = strlen(cmdstring); 119 cmdlen = strlen(cmdstring);