aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-18 14:12:54 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-18 14:12:54 +0200
commit31a650a12179d6ca18cc9c068aaef9eb5a27ef16 (patch)
tree90608dbcb62ced35913d1db554b6ceb968d606fa /jsaccess
parentjsaccess: jstore tweak permissions (diff)
downloadlaurent-tools-31a650a12179d6ca18cc9c068aaef9eb5a27ef16.tar.xz
laurent-tools-31a650a12179d6ca18cc9c068aaef9eb5a27ef16.zip
jsaccess: remove tmp file before rsync
Diffstat (limited to 'jsaccess')
-rwxr-xr-xjsaccess/jstore.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jsaccess/jstore.sh b/jsaccess/jstore.sh
index 59a3513..fbf80c4 100755
--- a/jsaccess/jstore.sh
+++ b/jsaccess/jstore.sh
@@ -232,6 +232,7 @@ action_rget() {
action_push() {
_rget
+ rm -f $tmp
cmd="rsync -rvzP $store/* $rsync_uri"
echo "Running \"$cmd\""
$cmd