show selected config (was cleared prior)
This commit is contained in:
parent
8429669cdc
commit
cad3690da3
3
s3h.sh
3
s3h.sh
@ -51,8 +51,6 @@ while [[ -z "$configFile" ]]; do
|
||||
fi
|
||||
done
|
||||
|
||||
echo "config file '$configFile' selected. connecting..."
|
||||
|
||||
# read config file and connect
|
||||
if [[ -f "$configFile" ]]; then
|
||||
# each line equals one config option
|
||||
@ -63,6 +61,7 @@ if [[ -f "$configFile" ]]; then
|
||||
|
||||
# clear screen // remove dialog colors
|
||||
clear
|
||||
echo "config file '$configFile' selected. connecting..."
|
||||
|
||||
# execute ssh
|
||||
ssh ${para[@]} `basename "$configFile"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user