Fix for Mac Launch Program not returning true on success

This commit is contained in:
SIELA1915 2016-02-12 18:56:36 +01:00
parent 2ef58c9e0e
commit af1363f34e

View file

@ -781,6 +781,8 @@ bool launchProgram(const std::string &programName, const std::string &arguments,
if (res && log)
nlwarning ("LAUNCH: Failed launched '%s' with arg '%s' return code %d", programName.c_str(), arguments.c_str(), res);
if (!res)
return true;
#else
static bool firstLaunchProgram = true;