From 7297666d6c00d0d3218b359c198e40bbd9c741ef Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sat, 11 Nov 2023 17:01:48 +0100 Subject: [PATCH] Suppression de la fonction parse_variable --- bin/ssh-fwd | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bin/ssh-fwd b/bin/ssh-fwd index 9e750b4..a9ca57c 100755 --- a/bin/ssh-fwd +++ b/bin/ssh-fwd @@ -11,10 +11,6 @@ error_null_arg() { error 1 } -parse_variable() { - ! : -} - # Parser les variables trap error_null_arg EXIT set -e @@ -22,10 +18,6 @@ set -e ssh_host="$1" shift -parse_variable ssh_host "$1" 'SSH host' -parse_variable local_port 'local port' -parse_variable distant_port 'distant port' - trap - EXIT set +e