bugfixes
This commit is contained in:
parent
bccd42ab9d
commit
c344794953
6
ppss
6
ppss
|
@ -1402,6 +1402,12 @@ test_server () {
|
||||||
# Testing if the remote server works as expected.
|
# Testing if the remote server works as expected.
|
||||||
if [ ! -z "$SSH_SERVER" ]
|
if [ ! -z "$SSH_SERVER" ]
|
||||||
then
|
then
|
||||||
|
if [ ! -e "$SSH_SOCKET" ]
|
||||||
|
then
|
||||||
|
DIR=`dirname $SSH_SOCKET`
|
||||||
|
mkdir -p "$DIR"
|
||||||
|
fi
|
||||||
|
|
||||||
exec_cmd "date >> /dev/null"
|
exec_cmd "date >> /dev/null"
|
||||||
check_status "$?" "$FUNCNAME" "Server $SSH_SERVER could not be reached"
|
check_status "$?" "$FUNCNAME" "Server $SSH_SERVER could not be reached"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue