This commit is contained in:
louwrentius 2011-08-21 22:12:33 +00:00
parent bccd42ab9d
commit c344794953
1 changed files with 6 additions and 0 deletions

6
ppss
View File

@ -1402,6 +1402,12 @@ test_server () {
# Testing if the remote server works as expected.
if [ ! -z "$SSH_SERVER" ]
then
if [ ! -e "$SSH_SOCKET" ]
then
DIR=`dirname $SSH_SOCKET`
mkdir -p "$DIR"
fi
exec_cmd "date >> /dev/null"
check_status "$?" "$FUNCNAME" "Server $SSH_SERVER could not be reached"