home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 2 Apr 2025 14:30:21 +0000 (16:30 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 2 Apr 2025 14:30:21 +0000 (16:30 +0200)
testing/home/desktop/.local/bin/borgplom

index 43346a149309aa348067b93dacf1bab99a649aa8..8adbf2ef8ebda8594d22c7ce91ffc1ba99088411 100755 (executable)
@@ -133,12 +133,15 @@ cmd_orgpull() {
         fi
     done < "${_PATH_PIPE}"
     rm "${_PATH_PIPE}"
+    if [ -z "${_REPO}" ]; then
+        error_exit "No repo available."
+    fi
 
     # determine passphrase and archive
     echo "Checking out ${_REPO} …"
     while true; do
         if [ -z "${BORG_PASSPHRASE}" ]; then
-            printf 'Passhrase:'
+            printf 'Passphrase:'
             export BORG_PASSPHRASE="$(get_passphrase)"
             echo ''
         fi