print shell

This commit is contained in:
Roy Olav Purser 2024-02-09 21:17:34 +01:00
parent ea878ddc62
commit 2627bad25d
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

View File

@ -12,7 +12,7 @@ int main() {
struct passwd *pw = getpwent(); struct passwd *pw = getpwent();
strlcpy(shell, pw->pw_shell, sizeof(shell)); strlcpy(shell, pw->pw_shell, sizeof(shell));
printf("%s\n", shell);
endpwent(); endpwent();
int fd = open("/run/vpn/net", 0); int fd = open("/run/vpn/net", 0);