Skip to content

Commit 6653063

Browse files
committed
Update flushall_build_and_run.sh
1 parent 57c71d5 commit 6653063

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flushall_build_and_run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ tail -n 3 -f build.log &
111111
TAIL_PID=$!
112112
mvn -pl obp-api -am clean package -DskipTests=true -Dmaven.test.skip=true -T 4 > build.log 2>&1
113113
BUILD_EXIT=$?
114-
kill $TAIL_PID 2>/dev/null
115-
wait $TAIL_PID 2>/dev/null
114+
kill $TAIL_PID 2>/dev/null || true
115+
wait $TAIL_PID 2>/dev/null || true
116116

117117
if [ $BUILD_EXIT -ne 0 ]; then
118118
echo ""

0 commit comments

Comments
 (0)