Skip to content

Commit

Permalink
Improve error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wb2osz committed Mar 5, 2023
1 parent eb813e5 commit 11468f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/direwolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ int main (int argc, char *argv[])
#ifndef __WIN32__
if (getuid() == 0 || geteuid() == 0) {
text_color_set(DW_COLOR_ERROR);
for (n=0; n<15; n++) {
for (int n=0; n<15; n++) {
dw_printf ("\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");
Expand Down

0 comments on commit 11468f2

Please sign in to comment.