mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #239 from JimboJoe/patch-2
ynh_backup: Fix error message when source path doesn't exist
This commit is contained in:
commit
1ecf5481cf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue