Move logging time for update

This commit is contained in:
Michael Stanclift 2020-05-22 11:56:43 -05:00
parent ed20d55f29
commit 3122a2bb15

View File

@ -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
}