aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/pre-receive.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 03:06:55 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 03:06:55 +0200
commitf1acef83fc8c42b628278410de8feec2d2818882 (patch)
treef0926920c481295c7d69f374c59bdc2b156b4ffd /src/blogc-git-receiver/pre-receive.c
parente561e1b9872626189df7911fa8467296d9a22eed (diff)
downloadblogc-f1acef83fc8c42b628278410de8feec2d2818882.tar.gz
blogc-f1acef83fc8c42b628278410de8feec2d2818882.tar.bz2
blogc-f1acef83fc8c42b628278410de8feec2d2818882.zip
git-receiver: fix previous patch, again
Diffstat (limited to 'src/blogc-git-receiver/pre-receive.c')
-rw-r--r--src/blogc-git-receiver/pre-receive.c4
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";
}