]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fix redirection
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 3 Nov 2016 21:47:46 +0000 (19:47 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 3 Nov 2016 21:47:46 +0000 (19:47 -0200)
zsync

diff --git a/zsync b/zsync
index 007e548bfaab22a88beec7d3ab1b177b8dec1fb1..501db0290fff58e4dacacb4b057aa69f002f5939 100755 (executable)
--- 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"