From 39e3dfe4660c537dff4476ca4b7dfc9068a15e37 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Jan 2016 21:28:27 +0000 Subject: [PATCH] clone failure warning --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 360cd161..1674adde 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8131,6 +8131,10 @@ function install_gnu_social { fi if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs ]; then git clone $MICROBLOG_REPO /var/www/$MICROBLOG_DOMAIN_NAME/htdocs + if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs ]; then + echo $'Unable to clone gnusocial repo' + exit 87525 + fi fi cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs