Better cleanup condition
This commit is contained in:
parent
b2c64a6c09
commit
ce6b0a43bc
1 changed files with 5 additions and 1 deletions
|
|
@ -119,7 +119,11 @@ sleep 3
|
|||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlWaitForCmd "killall python2" -r 1 -m 50
|
||||
if rlIsRHEL '>8' || rlIsCentOS; then
|
||||
rlWaitForCmd "killall python3" -r 1 -m 50
|
||||
else
|
||||
rlWaitForCmd "killall python2" -r 1 -m 50
|
||||
fi
|
||||
#rlRun "while ! killall python2; do true; done"
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue