diff options
| -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(); | 
