Merge f373beebbc into merged_master (Bitcoin PR #16344)

This commit is contained in:
Andrew Poelstra 2020-11-09 03:58:19 +00:00
commit f7cb3a9645
6 changed files with 9 additions and 9 deletions

View file

@ -1111,7 +1111,7 @@ static CBlockIndex *pindexBestForkTip = nullptr, *pindexBestForkBase = nullptr;
static void AlertNotify(const std::string& strMessage)
{
uiInterface.NotifyAlertChanged();
#if defined(HAVE_SYSTEM)
#if HAVE_SYSTEM
std::string strCmd = gArgs.GetArg("-alertnotify", "");
if (strCmd.empty()) return;