mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 11:50:17 +01:00 
			
		
		
		
	fix: use RECEIVER_PROXY_ID instead of $1
This commit is contained in:
		@@ -185,7 +185,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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user