mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ynh_backup: Fix error message when source path doesn't exist
This commit is contained in:
parent
1943e7f245
commit
4486b24388
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ynh_backup() {
|
||||||
|
|
||||||
# validate arguments
|
# validate arguments
|
||||||
[[ -e "${SRCPATH}" ]] || {
|
[[ -e "${SRCPATH}" ]] || {
|
||||||
echo "Source path '${DESTPATH}' does not exist" >&2
|
echo "Source path '${SRCPATH}' does not exist" >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue