From 723028fe5150ce5b4ebaee73de04ac0199cad961 Mon Sep 17 00:00:00 2001 From: buovjaga <1997424-buovjaga@users.noreply.gitlab.com> Date: Tue, 6 Oct 2020 11:21:09 +0000 Subject: [PATCH] Fix typo 'PIDMUM' --- petrified | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petrified b/petrified index f8fb9d7..a92a156 100755 --- a/petrified +++ b/petrified @@ -199,7 +199,7 @@ fi if (( ${USE_PID} == 1 )); then PIDNUM=$(cat "${PET_PID}" 2>/dev/null) # check if we have a number - if [[ ${PIDMUM} =~ ^-?[0-9]+$ ]]; then + if [[ ${PIDNUM} =~ ^-?[0-9]+$ ]]; then kill -0 ${PIDNUM} if (( $? == 0 )); then logmsg "Detected a running process ${PIDNUM}, exiting."