From c96abac5559d154dfe92c3044ec0c081acaec08e Mon Sep 17 00:00:00 2001 From: "louwrentius@gmail.com" Date: Sun, 21 Aug 2011 22:12:33 +0000 Subject: [PATCH] bugfixes --- trunk/ppss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trunk/ppss b/trunk/ppss index 79e36aa..61ecc8d 100755 --- a/trunk/ppss +++ b/trunk/ppss @@ -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"