10 lines
171 B
Bash
Executable file
10 lines
171 B
Bash
Executable file
#!/bin/bash
|
|
# SSH Wrapper
|
|
# Shows if return value of ssh is != 0
|
|
|
|
ssh $@
|
|
ret=$?
|
|
if [ "$ret" != "0" ]; then
|
|
echo "Exit value: $ret"
|
|
while true; do sleep 5; done
|
|
fi
|