From f86ec8d5d0df3a5be6071cd8f35ff8b79af2f32f Mon Sep 17 00:00:00 2001 From: Imran Hussain Date: Tue, 24 Sep 2019 12:31:33 +0100 Subject: [PATCH 1/2] Fix sucs site deploy script thing --- htdocs/pull.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/pull.php b/htdocs/pull.php index b70f210..f99215b 100644 --- a/htdocs/pull.php +++ b/htdocs/pull.php @@ -4,7 +4,7 @@ exec("cd ..; git reset --hard HEAD; git pull", $retArr, $retVal); if ($retVal == 0) { print(ok); - exit(0) + exit(0); } print("not ok\n"); -- GitLab From 683c9187a6aee8cc208eb6df3116901023f532af Mon Sep 17 00:00:00 2001 From: Imran Hussain Date: Tue, 24 Sep 2019 12:39:15 +0100 Subject: [PATCH 2/2] really fix the pull script --- htdocs/pull.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/pull.php b/htdocs/pull.php index f99215b..57ff895 100644 --- a/htdocs/pull.php +++ b/htdocs/pull.php @@ -3,7 +3,7 @@ exec("cd ..; git reset --hard HEAD; git pull", $retArr, $retVal); if ($retVal == 0) { - print(ok); + print("ok"); exit(0); } -- GitLab