]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix err log
authorBastian Dehn <hhaalo@arcor.de>
Sat, 24 May 2025 10:51:45 +0000 (12:51 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 24 May 2025 10:51:45 +0000 (12:51 +0200)
backup

diff --git a/backup b/backup
index 3b93b425368e196fdaf6209d6fa77e036545b16a..c201875e1981a5f8be461e0920dc1606450609e7 100755 (executable)
--- a/backup
+++ b/backup
@@ -7,7 +7,7 @@ errlog()
 
        echo "❌ ERROR: $msg"
        echo "🛑 EXIT $lastexit"
-       return $lastext
+       return $lastexit
 }
 
 ## @fn usage()