Skip to content

Commit

Permalink
Merged with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkeates committed Aug 18, 2016
2 parents 448531b + b6c5a9e commit ecb9578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming.c
Expand Up @@ -48,7 +48,7 @@ int stream_to_command(metrics *m, void *data, stream_callback cb, char *cmd) {
close(filedes[1]);

// Try to run the command
res = execl("/bin/sh", "streaming", "-c", cmd, NULL);
res = execl("/bin/sh", "sh", "-c", cmd, NULL);
if (res != 0) perror("Failed to execute command!");

// Always exit
Expand Down

0 comments on commit ecb9578

Please sign in to comment.