diff --git a/main.cpp b/main.cpp index 441566ea..81c86bda 100644 --- a/main.cpp +++ b/main.cpp @@ -280,7 +280,7 @@ int main(int argc, char** argv) { args[pos++] = strdup("--debug"); else if (bForeground) args[pos++] = strdup("--foreground"); - if (CUtils::StdoutIsTTY()) + if (!CUtils::StdoutIsTTY()) args[pos++] = strdup("--no-color"); if (bAllowRoot) args[pos++] = strdup("--allow-root");