[fix] No fucking uppercase !

Uppercase variables are for environment variables.
Fix line 80: SRC_PATH: unbound variable
This commit is contained in:
Maniack Crudelis 2019-04-13 10:44:48 +02:00 committed by GitHub
parent d12334ba18
commit ec48edfef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ ynh_backup() {
echo "Source path '${src_path}' does not exist" >&2
if [ "$not_mandatory" == "0" ]
then
echo "Source path '${SRC_PATH}' does not exist" >&2
echo "Source path '${src_path}' does not exist" >&2
# This is a temporary fix for fail2ban config files missing after the migration to stretch.
if echo "${src_path}" | grep --quiet "/etc/fail2ban"