From 5c44bf912b2e750484052be4aed540a27b92485d Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sat, 3 Aug 2024 11:25:45 +0000 Subject: [PATCH] regress: simplify code and fix comment we're not running under `set -e' since a long time. --- regress/lib.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/regress/lib.sh b/regress/lib.sh index 561f9bf..330d18d 100644 --- a/regress/lib.sh +++ b/regress/lib.sh @@ -186,12 +186,7 @@ check() { return 1 fi - # remember: we're running under ``set -e'' - if ps $pid >/dev/null; then - return 0 - fi - - return 1 + ps $pid >/dev/null } count() {