diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-04-25 21:35:49 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-04-25 21:35:49 +0100 | 
| commit | ac544a3012c09a0bee3bdd523ba9bd7c046d3262 (patch) | |
| tree | 3eef8602e07a2d621af8f3b545d58319b651114a | |
| parent | Tidy and genericise PQ array handling and git diffing (diff) | |
| download | gentoobrowse-api-ac544a3012c09a0bee3bdd523ba9bd7c046d3262.tar.bz2 gentoobrowse-api-ac544a3012c09a0bee3bdd523ba9bd7c046d3262.tar.xz gentoobrowse-api-ac544a3012c09a0bee3bdd523ba9bd7c046d3262.zip | |
When I say don't send notifications, don't send notifications!
| -rw-r--r-- | gentoobrowse-api/util/update.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| 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(); | 
