Skip to content

Commit

Permalink
local testnet: Fix an error on startup (#2973)
Browse files Browse the repository at this point in the history
## Issue Addressed

Resolves #2763 (comment)

## Proposed Changes

- Skip if the line is blank. πŸ‘Œ
  • Loading branch information
ackintosh committed Jan 31, 2022
1 parent 736457b commit 5d26050
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/local_testnet/kill_processes.sh
Expand Up @@ -8,6 +8,9 @@ set -Eeuo pipefail
if [ -f "$1" ]; then
while read pid
do
# handle the case of blank lines
[[ -n "$pid" ]] || continue

echo killing $pid
kill $pid
done < $1
Expand Down

0 comments on commit 5d26050

Please sign in to comment.