summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-07-31 17:17:29 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-07-31 17:17:29 +0200
commitd41c367b6d5e2b75e6b7a3521da8d20b4d57ad6f (patch)
tree7708f6ad13ab036f89fbc22fea0410c8fe29fd6f
parent5e87e678b27f1a86415eca5ad761af77e8e62086 (diff)
downloadbin-d41c367b6d5e2b75e6b7a3521da8d20b4d57ad6f.tar.gz
bin-d41c367b6d5e2b75e6b7a3521da8d20b4d57ad6f.tar.xz
syncrepo.sh: Be quiet when running as cron
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xsyncrepo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/syncrepo.sh b/syncrepo.sh
index 4ff6309..90ccb7e 100755
--- a/syncrepo.sh
+++ b/syncrepo.sh
@@ -49,6 +49,8 @@ rsync_cmd() {
if stty &>/dev/null; then
cmd+=(-h -v --progress)
+ else
+ cmd+=(--quiet)
fi
if ((bwlimit>0)); then