Skip whiptail during testing, echo error message to setup log

This commit is contained in:
William Wernert committed 2021-04-12 16:13:32 -04:00
1 parent 8cb4a75eb1
commit cc344d921a
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -575,6 +575,7 @@ if [[ $is_manager || $is_import ]]; then collect_so_allow; fi
set_redirect >> $setup_log 2>&1
if [[ $is_minion ]] && ! check_manager_state; then
echo "Manager was not in a good state" >> "$setup_log" 2>&1
whiptail_manager_error
fi