mtr_im_stop returns 1 if all is well

This commit is contained in:
msvensson@shellback.(none) 2006-10-11 15:45:35 +02:00
parent 3e37764216
commit d02909910b

View file

@ -2904,7 +2904,7 @@ sub run_testcase ($) {
# Stop Instance Manager if we are processing an IM-test case.
# ----------------------------------------------------------------------
if ( $tinfo->{'component_id'} eq 'im' and
mtr_im_stop($instance_manager, $tinfo->{'name'}) != 0 )
!mtr_im_stop($instance_manager, $tinfo->{'name'}) )
{
mtr_error("Failed to stop Instance Manager.")
}