Skip to content

Commit 211cae2

Browse files
committed
Don't check PROMPT env var since this now seems unnecessary
1 parent 5e0d6fd commit 211cae2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/ngscopeclient/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ int main(int argc, char* argv[])
8080
}
8181
else if(GetConsoleWindow() == NULL)
8282
LogNotice("Startup: skipping stdout log sink since not run from a console (no console window)\n");
83-
else if(getenv("PROMPT") != nullptr)
84-
LogNotice("Startup: skipping stdout log sink since not run from a console (no prompt)\n");
8583
else
8684
{
8785
#endif

0 commit comments

Comments
 (0)