diff --git a/check_requirements b/check_requirements index 693b56109e477295b224da158f3d0570aa23d60e..415cb770ea67eb246d5a3db34391e26307a96b74 100755 --- a/check_requirements +++ b/check_requirements @@ -93,10 +93,10 @@ function newline(){ } # check in process list -# param string regex to search for in output of "ps x" +# param string regex to search for in output of "ps aux" function chkProcess(){ local label="$1" - test -z "$PROCESSES" && PROCESSES=$( ps x ) + test -z "$PROCESSES" && PROCESSES=$( ps aux ) COUNT+=1 local found=$( echo "$PROCESSES" | grep -v "grep" | grep -v "$self" | grep -E "$label" ) if [ -z "$found" ]; then