diff options
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c index 5c0b3b7..5d2ead8 100644 --- a/src/blogc-git-receiver/pre-receive.c +++ b/src/blogc-git-receiver/pre-receive.c @@ -153,10 +153,10 @@ bgr_pre_receive_hook(int argc, char *argv[]) const char *make_impl = NULL; - if (127 != WEXITSTATUS(system("gmake -f /dev/null &> /dev/null"))) { + if (127 != WEXITSTATUS(system("gmake -f /dev/null 2> /dev/null > /dev/null"))) { make_impl = "gmake"; } - else if (127 != WEXITSTATUS(system("make -f /dev/null &> /dev/null"))) { + else if (127 != WEXITSTATUS(system("make -f /dev/null 2> /dev/null > /dev/null"))) { make_impl = "make"; } |