aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-03 19:47:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-03 19:47:46 -0200
commitd6713e82b3e338f9fb8be3e01a266889c58c386a (patch)
treebdd0409a6aee0ed0af45a273d995ea51fddd5701
parent4157aae3ea0f4b4af7d944944d9d96c3fb310e0b (diff)
downloadscripts-d6713e82b3e338f9fb8be3e01a266889c58c386a.tar.gz
scripts-d6713e82b3e338f9fb8be3e01a266889c58c386a.tar.bz2
Fix redirection
-rwxr-xr-xzsync2
1 files changed, 1 insertions, 1 deletions
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"