diff --git a/pafish/main.c b/pafish/main.c index 241f5df..85bb027 100644 --- a/pafish/main.c +++ b/pafish/main.c @@ -264,7 +264,7 @@ int main(int argc, char *argv[]) write_log("End"); fflush(stdin); - if (argc != 2 || strcmp(argv[1], "-q") != 0) { + if (argc != 2 || strncmp(argv[1], "-q", 2) != 0) { getchar(); } return analysis_result;