forked from ahurac/dotfiles
Suppression de la fonction parse_variable
This commit is contained in:
parent
f1395291d7
commit
7297666d6c
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue