Commit c147dcf5 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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);
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