Commit 1c28b0cc authored by Michael Smith's avatar Michael Smith
Browse files

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
parent 17614c0e
...@@ -406,7 +406,7 @@ int main(int argc, char **argv) ...@@ -406,7 +406,7 @@ int main(int argc, char **argv)
_fatal_error(pbuf); _fatal_error(pbuf);
switch (ret) { switch (ret) {
case CONFIG_EINSANE: case CONFIG_EINSANE:
_fatal_error("filename was null of blank"); _fatal_error("filename was null or blank");
break; break;
case CONFIG_ENOROOT: case CONFIG_ENOROOT:
_fatal_error("no root element found"); _fatal_error("no root element found");
...@@ -446,7 +446,7 @@ int main(int argc, char **argv) ...@@ -446,7 +446,7 @@ int main(int argc, char **argv)
* assume */ * assume */
if(!getuid()) /* Running as root! Don't allow this */ 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"); fprintf(stderr, "Use the changeowner directive in the config file\n");
_shutdown_subsystems(); _shutdown_subsystems();
return 1; return 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment