mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(bash): several chores to bash scripts: (#23250)
This commit is contained in:
@@ -277,6 +277,9 @@ function restore_missing_services() {
|
||||
local service_exists=false
|
||||
|
||||
if [ "$provider" = "pm2" ]; then
|
||||
echo "Check if PM2 is installed..."
|
||||
check_pm2 || { echo -e "${RED}PM2 is not installed. Cannot check service status.${NC}"; exit 1; }
|
||||
|
||||
if pm2 describe "$name" >/dev/null 2>&1; then
|
||||
service_exists=true
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user