1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

show first message when not show version.

This commit is contained in:
winlin 2016-01-04 17:41:16 +08:00
parent 26211abf2e
commit dc38ae1687
2 changed files with 3 additions and 3 deletions

View file

@ -1359,6 +1359,9 @@ int SrsConfig::parse_options(int argc, char** argv)
exit(0);
}
// first hello message.
srs_trace(RTMP_SIG_SRS_SERVER);
if (config_file.empty()) {
ret = ERROR_SYSTEM_CONFIG_INVALID;
srs_error("config file not specified, see help: %s -h, ret=%d", argv[0], ret);