diff options
Diffstat (limited to 'lib/common/Test.h')
-rw-r--r-- | lib/common/Test.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h index 746684df..f5b5698b 100644 --- a/lib/common/Test.h +++ b/lib/common/Test.h @@ -275,10 +275,8 @@ inline int LaunchServer(const char *pCommandLine, const char *pidFile) TEST_FAIL_WITH_MESSAGE("Server didn't save PID file"); return -1; } - else - { - ::fprintf(stdout, "done.\n"); - } + + ::fprintf(stdout, "done.\n"); // wait a second for the pid to be written to the file ::sleep(1); |