Improve error message.

This commit is contained in:
wb2osz 2023-03-05 15:38:06 +00:00
parent eb813e5804
commit 11468f26f8
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ int main (int argc, char *argv[])
#ifndef __WIN32__ #ifndef __WIN32__
if (getuid() == 0 || geteuid() == 0) { if (getuid() == 0 || geteuid() == 0) {
text_color_set(DW_COLOR_ERROR); text_color_set(DW_COLOR_ERROR);
for (n=0; n<15; n++) { for (int n=0; n<15; n++) {
dw_printf ("\n"); dw_printf ("\n");
dw_printf ("Dire Wolf requires only privileges available to ordinary users.\n"); dw_printf ("Dire Wolf requires only privileges available to ordinary users.\n");
dw_printf ("Running this as root is an unnecessary security risk.\n"); dw_printf ("Running this as root is an unnecessary security risk.\n");