This is to track the regression introduced in master, which needs fixing for 0.14. See #9240, #9371, etc.
{
    uiInterface.NotifyAlertChanged();
    std::string strCmd = GetArg("-alertnotify", "");
    if (strCmd.empty()) return;
    
    
    
    std::string singleQuote("'");
    std::string safeStatus = SanitizeString(strMessage);
    safeStatus = singleQuote+safeStatus+singleQuote;
    boost::replace_all(strCmd, "%s", safeStatus);
    boost::thread t(runCommand, strCmd); 
}
void CheckForkWarningConditions()
{
    AssertLockHeld(cs_main);
    
    
    if (IsInitialBlockDownload())
        return;