From caaf18e93a4d81eb5b37a5d413a30e1ba784747b Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Fri, 23 May 2025 16:39:24 +0200 Subject: [PATCH] fix: use RECEIVER_PROXY_ID instead of $1 --- bridgehead | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridgehead b/bridgehead index 4d60859..fff023f 100755 --- a/bridgehead +++ b/bridgehead @@ -191,7 +191,7 @@ case "$ACTION" in log "WARNING" "Your are about to send a file to another bridgehead in your network!" read -p "Please name the bridgehead you want to send the file to (proxy-id): " RECEIVER_PROXY_ID read -p "Continue? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 - exec $COMPOSE -p $PROJECT -f ./modules/beam-file-compose.yml --profile beam-file-sender run beam-file-sender send --to beamfile.$1 /data/outfile + exec $COMPOSE -p $PROJECT -f ./modules/beam-file-compose.yml --profile beam-file-sender run beam-file-sender send --to beamfile.$RECEIVER_PROXY_ID /data/outfile ;; *) printUsage