Fixed message when wyze_config_backup exists (#592)

This commit is contained in:
87435 2023-09-18 05:44:37 +03:00 committed by GitHub
parent d9c2c160b1
commit f65b076aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ case "$1" in
echo "#####$(basename "$0")#####" echo "#####$(basename "$0")#####"
if [ -d /opt/wyze_config_backup ]; then if [ -d /opt/wyze_config_backup ]; then
echo "Factory config backup directory missing" echo "Factory config backup directory exists"
else else
echo "Creating factory config backup directory" echo "Creating factory config backup directory"
mkdir /opt/wyze_config_backup mkdir /opt/wyze_config_backup