merged in geteuid-fix

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1233 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-02-13 22:34:24 +00:00
parent 4fc459d71d
commit b97cdbffff

View File

@@ -163,7 +163,7 @@ main (int argc, char **argv)
}
break;
case 'u' :
if (geteuid () != 0) {
if (getuid () != 0) {
fprintf (stderr, "%s: Only root can change OTPs for other users\n",
prog);
return 1;