diff options
author | Omar Polo <op@omarpolo.com> | 2024-08-03 11:25:45 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-08-03 11:25:45 +0000 |
commit | 5c44bf912b2e750484052be4aed540a27b92485d (patch) | |
tree | 89b8a26312503d4b76a7b0b3a93b5d72fdf468ee | |
parent | 69e34a630aa835783412477ebd41fed289361a71 (diff) |
regress: simplify code and fix comment
we're not running under `set -e' since a long time.
-rw-r--r-- | regress/lib.sh | 7 |
1 files changed, 1 insertions, 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() { |