mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05: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:
parent
17614c0ec0
commit
1c28b0cce1
@ -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)
|
|||||||
* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user