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