diff --git a/src/input/input_ts.cpp b/src/input/input_ts.cpp index feeb2d6a..98300411 100644 --- a/src/input/input_ts.cpp +++ b/src/input/input_ts.cpp @@ -560,7 +560,7 @@ namespace Mist{ // Connect to stats for INPUT detection statComm.reload(); if (statComm){ - if (statComm.getStatus() == COMM_STATUS_REQDISCONNECT){ + if (statComm.getStatus() & COMM_STATUS_REQDISCONNECT){ config->is_active = false; Util::logExitReason("received shutdown request from controller"); return;