diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/usr_local_bin_backup.sh.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/usr_local_bin_backup.sh.j2 b/templates/usr_local_bin_backup.sh.j2 index 3c4d977..a79cdb7 100644 --- a/templates/usr_local_bin_backup.sh.j2 +++ b/templates/usr_local_bin_backup.sh.j2 @@ -174,7 +174,7 @@ cmd_prune_remote() { [[ -n "${b}" ]] || continue echo "Deleting remote: ${b}" set +e - echo "rm ${HOST_DIR}/${b}" | sftp -i "${KEYFILE}" "${USER}@${HOST}" + echo "rm ${b}" | sftp -i "${KEYFILE}" "${USER}@${HOST}" rc=$? set -e if [[ $rc -ne 0 ]]; then |
