Commit a9137567 authored by Hermann Mayer's avatar Hermann Mayer

[Binary] Improved custom hook output suppression. (See #16)

parent eeb6a911
......@@ -174,7 +174,7 @@ void run_hook(const char *hook_path)
int len = strlen(hook_path) + 20;
char cmd[len];
snprintf(cmd, len, "sh %s 1>/dev/null &", hook_path);
snprintf(cmd, len, "sh %s 2>&1 1>/dev/null &", hook_path);
system(cmd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment