build.func
This commit is contained in:
parent
918c5051b1
commit
2b14665c29
@ -1428,10 +1428,10 @@ EOF
|
||||
systemctl start ping-instances.service
|
||||
fi
|
||||
|
||||
read -p "Remove this script? <y/N> " prompt
|
||||
read -p "Remove this Container? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
pct stop "$CTID"
|
||||
pct remove "$CTID"
|
||||
pct destroy "$CTID"
|
||||
msg_ok "Removed this script"
|
||||
else
|
||||
msg_warn "Did not remove this script"
|
||||
|
Loading…
x
Reference in New Issue
Block a user