From: Silvio Rhatto Date: Thu, 3 Nov 2016 21:47:46 +0000 (-0200) Subject: Fix redirection X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d6713e82b3e338f9fb8be3e01a266889c58c386a;p=scripts.git Fix redirection --- diff --git a/zsync b/zsync index 007e548..501db02 100755 --- a/zsync +++ b/zsync @@ -13,7 +13,7 @@ fi # Sync if [ -d '.git' ]; then - if which updates 2> /dev/null; then + if which updates > /dev/null; then updates else git commit -a -m "Updates $PROJECT"