From 3122a2bb151f863f2b2adfeeb0029a24a936c9bb Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 22 May 2020 11:56:43 -0500 Subject: [PATCH] Move logging time for update --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 48adaf1..37f3b92 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -48,10 +48,10 @@ function import_gs { # Update Function function update_gs { TASKTYPE='UPDATE' + logs_export # dumps log prior to execution because script stops after successful pull echo -e "${YELLOW}This update will fail if Gravity Sync was not installed via GitHub${NC}" git reset --hard git pull - logs_export exit }