We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab8029b commit bbd69acCopy full SHA for bbd69ac
scripts/big_red_button.sh
@@ -122,7 +122,10 @@ function remove_k3s() {
122
fi
123
124
info_log "...k3s found. Uninstalling..."
125
- [[ -f "/usr/local/bin/k3s-uninstall.sh" ]] && run_a_script "/usr/local/bin/k3s-uninstall.sh"
+ if [[ -f "/usr/local/bin/k3s-uninstall.sh" ]]; then
126
+ run_a_script "/usr/local/bin/k3s-uninstall.sh" k3s_uninstall_pid --background
127
+ wait $((k3s_uninstall_pid))
128
+ fi
129
130
info_log "...k3s successfully uninstalled"
131
0 commit comments