diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 09:51:31 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 09:51:31 +0200 |
commit | 8f733605373c66ebd64b4180d42b654f3bb246c5 (patch) | |
tree | 139defe238c036378b0abc33ddc589872679306e /lib/Kratos/DFADriver.pm | |
parent | 1479899726b1e2292f0012a1378e4bfb90b68e87 (diff) |
Kill MIMOSA upon mismatch exit
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r-- | lib/Kratos/DFADriver.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm index b7e1200..321860d 100644 --- a/lib/Kratos/DFADriver.pm +++ b/lib/Kratos/DFADriver.pm @@ -1297,12 +1297,14 @@ sub merged_json { if ($online_obj->{isa} ne $plan_obj->{isa}) { printf("Log merge: ISA mismatch (should be %s, is %s) at index %d#%d\n", $plan_obj->{isa}, $online_obj->{isa}, $trace_idx, $idx); + $self->mimosa->kill; exit(1); } if ( $plan_obj->{name} ne 'UNINITIALIZED' ) { if ($online_obj->{name} ne $plan_obj->{name}) { printf("Log merge: name mismatch (should be %s, is %s) at index %d#%d\n", $plan_obj->{name}, $online_obj->{name}, $trace_idx, $idx); + $self->mimosa->kill; exit(1); } } |