summaryrefslogtreecommitdiff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index c1cd9daeb5..dcf4f4ffd1 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -562,7 +562,7 @@ ruserok2_sa (struct sockaddr *ra, size_t ralen, int superuser,
are protected read/write owner only. */
uid = __geteuid ();
if (seteuid (pwd->pw_uid) < 0)
- return -1;
+ return -1;
hostf = iruserfopen (pbuf, pwd->pw_uid);
@@ -573,7 +573,7 @@ ruserok2_sa (struct sockaddr *ra, size_t ralen, int superuser,
}
if (seteuid (uid) < 0)
- return -1;
+ return -1;
return isbad;
}
return -1;