]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix err log message directory not found
authorBastian Dehn <hhaalo@arcor.de>
Sat, 24 May 2025 14:12:38 +0000 (16:12 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 24 May 2025 14:12:38 +0000 (16:12 +0200)
backup

diff --git a/backup b/backup
index 28a5a605e65dd87a90a546d57a98ffc9ae27a645..a0e70d5102b5008f27f28597f1dd112b2a7662c0 100755 (executable)
--- a/backup
+++ b/backup
@@ -266,7 +266,7 @@ main()
        echo "ℹ️  INFO: backup count $backup_count"
 
        [ -d "$backup_path" ] \
-               || errlog "directory $back_path not exists" \
+               || errlog "directory $backup_path not exists" \
                || return $?
 
        local backup_dir=$(get_backup_dir \