We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf308a commit fae49a0Copy full SHA for fae49a0
bundle/bin/rke2-uninstall.sh
@@ -141,16 +141,6 @@ uninstall_remove_self()
141
$transactional_update rm -f -- "${INSTALL_RKE2_ROOT}/bin/rke2-uninstall.sh"
142
}
143
144
-# Define a cleanup function that triggers on exit
145
-cleanup() {
146
- # Check if last command's exit status was not equal to 0
147
- if [ $? -ne 0 ]; then
148
- echo -e "\e[31mCleanup didn't complete successfully\e[0m"
149
- else
150
- log "Cleanup completed successfully"
151
- fi
152
-}
153
-
154
# Define a cleanup function that triggers on exit
155
cleanup() {
156
0 commit comments