Skip to content

Commit f113f77

Browse files
committed
Allow crc delete to fail
crc delete will fail if it's already been deleted. Handle that gracefully and just ignore the failure. Signed-off-by: James Slagle <[email protected]>
1 parent 9892d01 commit f113f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devsetup/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ crc: ## Deploys CRC using CRC_URL to download and install CRC, KUBEADMIN_PWD as
216216

217217
.PHONY: crc_cleanup
218218
crc_cleanup: ## Destroys the CRC env, but does NOT clear ( --clear-cache ) the cache to save time on next setup.
219-
crc delete --force
219+
crc delete --force || true
220220
crc cleanup
221221
sudo ${CLEANUP_DIR_CMD} /etc/pki/ca-trust/source/anchors/crc-router-ca.pem
222222
sudo update-ca-trust

0 commit comments

Comments
 (0)