Skip to content

Commit

Permalink
uwsgi.pmcheck: cleanup, no functional change
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Apr 6, 2024
1 parent 68f08ac commit 6289f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pmdas/uwsgi/uwsgi.pmcheck
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ elif $sflag
then
status=0 # assume active until proven not to be
_ctl_pmda state $iam || status=$?
PROBE="$PCP_PMDAS_DIR/$iam/pmda$iam.python --probe"
PCP_PYTHON_PROBE=1 $PCP_PYTHON_PROG $PROBE || status=2
PROBE="$PCP_PYTHON_PROG $PCP_PMDAS_DIR/$iam/pmda$iam.python"
PCP_PYTHON_PROBE=1 $PROBE || status=2
_check "$iam PMDA status: $status"
elif $aflag
then
Expand Down

0 comments on commit 6289f8a

Please sign in to comment.