From 2627bad25d8540cca217bd7e0a170639933072c1 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Fri, 9 Feb 2024 21:17:34 +0100 Subject: [PATCH] print shell --- src/vpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vpn.c b/src/vpn.c index 7edb9d9..5cac397 100644 --- a/src/vpn.c +++ b/src/vpn.c @@ -12,7 +12,7 @@ int main() { struct passwd *pw = getpwent(); strlcpy(shell, pw->pw_shell, sizeof(shell)); - + printf("%s\n", shell); endpwent(); int fd = open("/run/vpn/net", 0);