Script Refactoring

This commit is contained in:
skiffer-git 2024-04-02 11:18:45 +08:00
parent c868db2bbc
commit 8a05e19eef

View File

@ -2837,7 +2837,7 @@ check_binary_ports() {
# Check if the binary is running
if pgrep -f "$binary_path" > /dev/null; then
echo "$binary_name is running."
echo "$binary_name is running." "arg $1"
# Find the PID(s) of the running binary
pids=$(pgrep -f "$binary_path")