Merge pull request #239 from JimboJoe/patch-2

ynh_backup: Fix error message when source path doesn't exist
This commit is contained in:
ljf (zamentur) 2017-01-31 18:50:10 +01:00 committed by GitHub
commit 1ecf5481cf

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
}