1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Correct a typo in one message, and change "WARNING" to "ERROR" in another,

since it's a fatal error.


svn path=/icecast/trunk/icecast/; revision=7983
This commit is contained in:
Michael Smith 2004-10-12 04:49:56 +00:00
parent 17614c0ec0
commit 1c28b0cce1

View File

@ -406,7 +406,7 @@ int main(int argc, char **argv)
_fatal_error(pbuf);
switch (ret) {
case CONFIG_EINSANE:
_fatal_error("filename was null of blank");
_fatal_error("filename was null or blank");
break;
case CONFIG_ENOROOT:
_fatal_error("no root element found");
@ -446,7 +446,7 @@ int main(int argc, char **argv)
* assume */
if(!getuid()) /* Running as root! Don't allow this */
{
fprintf(stderr, "WARNING: You should not run icecast2 as root\n");
fprintf(stderr, "ERROR: You should not run icecast2 as root\n");
fprintf(stderr, "Use the changeowner directive in the config file\n");
_shutdown_subsystems();
return 1;