about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 53a97fd..32e25e4 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -6136,10 +6136,6 @@ send_url_to_socket(char *url)
 	int			s, len, rv = -1;
 	struct sockaddr_un	sa;
 
-	pwd = getpwuid(getuid());
-	if (pwd == NULL)
-		errx(1, "invalid user %d", getuid());
-
 	if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) {
 		warnx("send_url_to_socket: socket");
 		return (-1);