Find rsync in PATH and pass the SSH password only to rsync
A missing /usr/bin/rsync ended in a traceback, possibly after --remove-before-backup had removed old backups, and left SSHPASS in the environment.
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ Backup failed because output directory for storing the backup does not exist.
|
||||
Permission denied to access the output directory.
|
||||
.TP
|
||||
.B 4
|
||||
rsync error (rsync returned a value other than 0 or 24).
|
||||
rsync error (rsync returned a value other than 0 or 24, or rsync is not installed).
|
||||
.TP
|
||||
.B 5
|
||||
SSH connection failed.
|
||||
|
||||
Reference in New Issue
Block a user