summaryrefslogtreecommitdiff
path: root/bin/rupload
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rupload')
-rwxr-xr-xbin/rupload5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/rupload b/bin/rupload
index 74c943c..b0cd640 100755
--- a/bin/rupload
+++ b/bin/rupload
@@ -90,7 +90,10 @@ while exists_already "$rname"; do
rname="_$rname"
done
-printf 'uploading to %s\n' "$rname" >&2
+if [ "$printurl" -eq 0 ]; then
+ printf 'uploading to %s\n' "$rname" >&2
+fi
+
if [ "$dry_run" -eq 1 ]; then
echo dryrun, not uploading anything
tidy_tempfile