forked from pool/util-linux
12 lines
244 B
Diff
12 lines
244 B
Diff
|
--- hwclock/hwclock.c
|
||
|
+++ hwclock/hwclock.c
|
||
|
@@ -1446,7 +1446,7 @@
|
||
|
show = 1; /* default to show */
|
||
|
|
||
|
|
||
|
- if (getuid() == 0)
|
||
|
+ if (geteuid() == 0)
|
||
|
permitted = TRUE;
|
||
|
else {
|
||
|
/* program is designed to run setuid (in some situations) */
|