diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index 7d2f6960e..3482788eb 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -430,7 +430,7 @@ bool exec_controlscript(std::string script) if (ret) dprintf_colored(DEBUG_NORMAL, "control script missing %s\n", controlscript.c_str()); - return ret == 0 ? true : false; + return ret; } std::string backtick(std::string command)