From ac544a3012c09a0bee3bdd523ba9bd7c046d3262 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 25 Apr 2017 21:35:49 +0100 Subject: When I say don't send notifications, don't send notifications! --- gentoobrowse-api/util/update.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gentoobrowse-api/util/update.cpp b/gentoobrowse-api/util/update.cpp index c54b882..2d25530 100644 --- a/gentoobrowse-api/util/update.cpp +++ b/gentoobrowse-api/util/update.cpp @@ -53,7 +53,9 @@ main(int c, char ** v) std::cerr << ex.what() << std::endl; } }); - m->sendNotifications(); + if (sendNotifications) { + m->sendNotifications(); + } } jobs.clear(); -- cgit v1.2.3