diff --git a/pkg/rpm/salt-minion b/pkg/rpm/salt-minion index c30af52bc9a..68ee88b081a 100755 --- a/pkg/rpm/salt-minion +++ b/pkg/rpm/salt-minion @@ -67,7 +67,7 @@ _su_cmd() { _get_pid() { - netstat $NS_NOTRIM -ap --protocol=unix 2>$ERROR_TO_DEVNULL \ + netstat -n $NS_NOTRIM -ap --protocol=unix 2>$ERROR_TO_DEVNULL \ | sed -r -e "\|\s${SOCK_DIR}/minion_event_${MINION_ID_HASH}_pub\.ipc$|"'!d; s|/.*||; s/.*\s//;' \ | uniq } @@ -156,7 +156,7 @@ start() { printf "\nPROCESSES:\n" >&2 ps wwwaxu | grep '[s]alt-minion' >&2 printf "\nSOCKETS:\n" >&2 - netstat $NS_NOTRIM -ap --protocol=unix | grep 'salt.*minion' >&2 + netstat -n $NS_NOTRIM -ap --protocol=unix | grep 'salt.*minion' >&2 printf "\nLOG_FILE:\n" >&2 tail -n 20 "$LOG_FILE" >&2 printf "\nENVIRONMENT:\n" >&2