Do not exit with non-zero if target is active deployment

This commit is contained in:
Dennis ten Hoove 2024-03-29 19:25:36 +01:00
parent a8781fec63
commit b2484c3994

1
arkdep
View file

@ -459,7 +459,6 @@ remove_deployment () {
# Ensure deployment is not currently active
if grep -q "$arkdep_dir/deployments/$target/rootfs" /proc/cmdline; then
printf 'Target is currently active deployment\n'
exit 1
fi
# Remove bootloader entry