refactor: replace fs.exec with safeExec for command execution with timeout

This commit is contained in:
Ivan K
2025-02-22 12:45:25 +03:00
parent 25107a0481
commit 7697754a73
2 changed files with 44 additions and 21 deletions

View File

@@ -1814,7 +1814,7 @@ get_status() {
fi
# Check if service is running
if pgrep -f "sing-box" >/dev/null; then
if pgrep -f "podkop" >/dev/null; then
running=1
fi