From 956367c949d2fc6cea2c7d394048f7dfee028f84 Mon Sep 17 00:00:00 2001 From: isisadmin Date: Wed, 30 Sep 2015 18:02:42 +0200 Subject: [PATCH] bug fix --- spod-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spod-manager.sh b/spod-manager.sh index 3bf7637..558cf64 100755 --- a/spod-manager.sh +++ b/spod-manager.sh @@ -131,7 +131,7 @@ while true; do GITPASSWORD="$2"; shift ;; -s|--spod-git-address) - GITHOST="$2"; shift + GITSPOD="$2"; shift ;; -w|--spod-hostname) HOSTNAMESPOD="$2"; shift @@ -251,7 +251,7 @@ echo "SPOD MANAGER Action: $ACTION ..." service apache2 start ;; "restoreall") - if [ -z "$MYSQLUSERNAME" ] || [ -z "$MYSQLPASSWORD" ] || [ -z "$SPODWWW" ]; + if [ -z "$MYSQLUSERNAME" ] || [ -z "$MYSQLPASSWORD" ] || [ -z "$SPODWWW" ] || [ -z "$GITUSER" ] || [ -z "$GITPASSWORD" ] || [ -z "$GITEMAIL" ] || [ -z "$GITSPOD" ]; then echo "You must specify the mysql password and username, SPOD backup dir and DB dump path to restore SPOD." exit -2 -- libgit2 0.21.4