From dd9328372d6e8e982a2bb8fbdc819f07bca1e485 Mon Sep 17 00:00:00 2001 From: Matthew McGill <mhollismcgill@gmail.com> Date: Wed, 17 Oct 2018 20:31:55 +0000 Subject: [PATCH] thanos integration Former-commit-id: c43fbf9d98e2bc580bb18ceb8143c55c83fd54b3 --- tools/ps_analyze.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/ps_analyze.sh b/tools/ps_analyze.sh index e2b5e5cb8..3d21488dc 100755 --- a/tools/ps_analyze.sh +++ b/tools/ps_analyze.sh @@ -554,9 +554,7 @@ perform_step() echo "$command"|grep "lib$step\.so " > /dev/null grep_res=$? if [ $grep_res -eq 0 ] ; then - echo "$user_critical_steps"|egrep " $step " > /dev/null - grep_res=$? - if [ $grep_res -eq 0 ] ; then + if [[ "$(stop_if_error $step)" != "0" ]]; then echo "EXECUTE_STEP CRITICAL $command" > $input_pipe else echo "EXECUTE_STEP OPTIONAL $command" > $input_pipe -- GitLab