print shell
This commit is contained in:
parent
ea878ddc62
commit
2627bad25d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user