diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-10 03:47:02 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-10 03:47:02 +0200 |
commit | 0506f2d04314de141b94f1ab2c633462750e017a (patch) | |
tree | 835e3e786f8e58f0e330a24c6b6f906a1adf108b /src/blogc-git-receiver | |
parent | 193b079d278e3847fce304b88603bbce5025a3f4 (diff) | |
download | blogc-0506f2d04314de141b94f1ab2c633462750e017a.tar.gz blogc-0506f2d04314de141b94f1ab2c633462750e017a.tar.bz2 blogc-0506f2d04314de141b94f1ab2c633462750e017a.zip |
trying to fix tests on travis again
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r-- | src/blogc-git-receiver/post-receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-git-receiver/post-receive.c b/src/blogc-git-receiver/post-receive.c index 79c51ac..efb41a5 100644 --- a/src/blogc-git-receiver/post-receive.c +++ b/src/blogc-git-receiver/post-receive.c @@ -52,8 +52,8 @@ bgr_post_receive_hook(int argc, char *argv[]) // the 'mirror' remote, just push to it. // this will be removed at some point, but will be kept for compatibility // with old setups. - if ((0 == system("git config --local remote.mirror.pushurl &> /dev/null")) || - (0 == system("git config --local remote.mirror.url &> /dev/null"))) + if ((0 == system("git config --local remote.mirror.pushurl > /dev/null")) || + (0 == system("git config --local remote.mirror.url > /dev/null"))) { mirror = bc_strdup("mirror"); goto push; |