Exit with 0 if target is active deployment
This commit is contained in:
parent
7affaa8907
commit
d772b4101a
1 changed files with 1 additions and 0 deletions
1
arkdep
1
arkdep
|
@ -459,6 +459,7 @@ 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 0
|
||||
fi
|
||||
|
||||
# Remove bootloader entry
|
||||
|
|
Loading…
Add table
Reference in a new issue