Skip to content

Commit 4ddd57e

Browse files
committed
fix: Cleanup PCP on error exit
1 parent 3861c5c commit 4ddd57e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

passmark/passmark_run

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ $curdir/test_tools/gather_data ${curdir}
7171

7272
exit_out()
7373
{
74+
if [[ $to_use_pcp -eq 1 ]]; then
75+
stop_pcp_subset
76+
stop_pcp
77+
shutdown_pcp
78+
fi
79+
7480
echo $1
7581
exit $2
7682
}

0 commit comments

Comments
 (0)