Don't unmount airgap directory if not airgap

This commit is contained in:
William Wernert
2021-05-17 11:00:28 -04:00
parent 5821a122cc
commit 3625453668

View File

@@ -931,7 +931,7 @@ main() {
echo "Running a highstate. This could take several minutes." echo "Running a highstate. This could take several minutes."
salt-call state.highstate -l info queue=True salt-call state.highstate -l info queue=True
postupgrade_changes postupgrade_changes
unmount_update [[ $is_airgap -eq 0 ]] && unmount_update
thehive_maint thehive_maint
if [[ $UPGRADESALT -eq 1 ]]; then if [[ $UPGRADESALT -eq 1 ]]; then