From c05b4c877f8d6fc56677304f0e0c14b0f87b3ba3 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 1 Apr 2025 02:09:06 +0200 Subject: [PATCH] Fix. --- testing/home/desktop/.local/bin/borgplom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/home/desktop/.local/bin/borgplom b/testing/home/desktop/.local/bin/borgplom index 901f915..8ff6ed5 100755 --- a/testing/home/desktop/.local/bin/borgplom +++ b/testing/home/desktop/.local/bin/borgplom @@ -14,7 +14,8 @@ if [ "$1" = "orgpull" ]; then mkfifo "${PATH_PIPE}" ls -1 "${PATH_CONF_SECURITY}/" > "${PATH_PIPE}" & while read FILENAME; do - NAME_SERVER="$(cat ${FILENAME}/location | cut -d'/' -f3 | cut -d'@' -f2)" + PATH_LOC="${PATH_CONF_SECURITY}/${FILENAME}/location" + NAME_SERVER="$(cat ${PATH_LOC} | cut -d'/' -f3 | cut -d'@' -f2)" if ping -c1 -W2 "${NAME_SERVER}" > /dev/null 2>&1; then break else -- 2.30.2