monitoring/NPalert/scripts/notif-launcher | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5286fd61ef01a96061519db20835986f239411e3
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Aug 19 14:33:34 2009 +0200
avoid deadlock when we have problem after acquiring lock
diff --git a/monitoring/NPalert/scripts/notif-launcher
b/monitoring/NPalert/scripts/notif-launcher
index 4d248be..bc04626 100755
--- a/monitoring/NPalert/scripts/notif-launcher
+++ b/monitoring/NPalert/scripts/notif-launcher
@@ -189,6 +189,7 @@ while (1) {
my $msg = $@ || "No alert id";
$Log->log(1,"ERROR: Skipping $filename. Escalator Interface error:
$@");
$AlertQ->skip;
+ $alert_file->close_file;
next;
}
$alert->alert_id($alert_id);
@@ -213,6 +214,7 @@ while (1) {
if ($@ || !@send_ids) {
$Log->log(1,"ERROR: Cannot create sends $filename. Skipping alert.
Escalator Interface error: $@");
$AlertQ->skip;
+ $alert_file->close_file;
next;
}
Show replies by date