aboutsummaryrefslogtreecommitdiffstats
path: root/vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'vbe.c')
-rw-r--r--vbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbe.c b/vbe.c
index 65d387f..47d0170 100644
--- a/vbe.c
+++ b/vbe.c
@@ -166,7 +166,7 @@ int get_edid(char *edid)
vbe_get_edid_info(edid);
FreeInt10();
- } else
+ } else if (getuid() != 0)
fprintf(stderr, "you must be root to run this program\n");
return ok ? 128 : 0;