Do not exit with non-zero if target is active deployment
This commit is contained in:
parent
a8781fec63
commit
b2484c3994
1 changed files with 0 additions and 1 deletions
1
arkdep
1
arkdep
|
@ -459,7 +459,6 @@ remove_deployment () {
|
||||||
# Ensure deployment is not currently active
|
# Ensure deployment is not currently active
|
||||||
if grep -q "$arkdep_dir/deployments/$target/rootfs" /proc/cmdline; then
|
if grep -q "$arkdep_dir/deployments/$target/rootfs" /proc/cmdline; then
|
||||||
printf 'Target is currently active deployment\n'
|
printf 'Target is currently active deployment\n'
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove bootloader entry
|
# Remove bootloader entry
|
||||||
|
|
Loading…
Add table
Reference in a new issue