ynh_backup: Fix error message when source path doesn't exist

This commit is contained in:
JimboJoe 2017-01-31 15:28:04 +01:00 committed by GitHub
parent 1943e7f245
commit 4486b24388

View file

@ -17,7 +17,7 @@ ynh_backup() {
# validate arguments
[[ -e "${SRCPATH}" ]] || {
echo "Source path '${DESTPATH}' does not exist" >&2
echo "Source path '${SRCPATH}' does not exist" >&2
return 1
}