diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-07 10:19:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-07 10:19:20 +0000 |
commit | 63bc62de3abacaabab7b12fa7dc82c7c9ded94d8 (patch) | |
tree | 99e659d047be8ca4cd4a6e4ab858e6e805b04ae4 | |
parent | 5747aa52485a0665c28bcf8c744d0b87162c0bbd (diff) | |
download | monitor-edid-63bc62de3abacaabab7b12fa7dc82c7c9ded94d8.tar monitor-edid-63bc62de3abacaabab7b12fa7dc82c7c9ded94d8.tar.gz monitor-edid-63bc62de3abacaabab7b12fa7dc82c7c9ded94d8.tar.bz2 monitor-edid-63bc62de3abacaabab7b12fa7dc82c7c9ded94d8.tar.xz monitor-edid-63bc62de3abacaabab7b12fa7dc82c7c9ded94d8.zip |
don't warn "you must be root to run this program" if we *are* root
-rw-r--r-- | vbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |