mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
Code needed more cows
This commit is contained in:
parent
fa4221fbbe
commit
d24370ac21
@ -507,7 +507,7 @@ int main(int argc, char *argv[])
|
||||
/* Refuse to run as root */
|
||||
#ifdef HAVE_PASSWD
|
||||
if (st.opt_root && getuid() == 0)
|
||||
die(&st, ERR_ACCESS, "Refusing to run as root");
|
||||
die(&st, ERR_ACCESS, "Cowardly refusing to run as root");
|
||||
#endif
|
||||
|
||||
/* Try to get shared memory */
|
||||
|
Loading…
Reference in New Issue
Block a user