tFix rpsync. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b5c203aa92d700eef63dd5d983322dc24fc8a37a
(DIR) parent 3a3279322fe3db30dbf6acd7a4474a0eb1e85586
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 12 May 2015 17:13:09 +0200
Fix rpsync.
Diffstat:
bin/rpsync | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/bin/rpsync b/bin/rpsync
t@@ -14,10 +14,10 @@ dsynccmd="-u chrissi mirror ssh -p 443 -i /home/chrissi/.ssh/id_rsa chrissi@mail
dsync -m "${mailbox}" $dsynccmd
if [ $? -eq 0 ];
then
- printf "%s has been synchronized.\n"
+ printf "%s has been synchronized.\n" "${mailbox}"
exit 0
fi
-printf "Synchronisation of %s failed.\n"
+printf "Synchronisation of %s failed.\n" "${mailbox}"
exit 1