Commit c147dcf5 authored by Leigh Stoller's avatar Leigh Stoller

Fix email spamming when pubsubd cannot be contacted.

parent 7fc24a33
......@@ -164,8 +164,11 @@ sub TryEvents()
}
else {
my $handle = event_register($URL,0);
fatal("Unable to register with event system!")
if (!$handle);
if (!$handle) {
print STDERR "Unable to register with event system!\n"
if ($debug);
exit(1);
}
exit(0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment