make an error message clearer
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@135 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
be57b91ba1
commit
dc9485bba1
2
config.y
2
config.y
|
@ -133,7 +133,7 @@ KeyPair: KeyType '=' TYPE_VALUE {
|
|||
/* Naive user protection - do not allow running as user root */
|
||||
if ($3 == 0)
|
||||
{
|
||||
fprintf(stderr, "%s: I refuse to run as root! Aborting.\n", config);
|
||||
fprintf(stderr, "%s: I refuse to run as uid 0 (root)! Aborting.\n", config);
|
||||
graceful_exit(1);
|
||||
}
|
||||
myconfig->shed_uid = $3;
|
||||
|
|
Loading…
Reference in New Issue