From 9f13ad33483464c76a36b9ac7b7a99e1c7709dcb Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 23 Apr 2012 15:27:28 +0100 Subject: win32: add pw_shell to struct passwd --- libbb/get_shell_name.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libbb') diff --git a/libbb/get_shell_name.c b/libbb/get_shell_name.c index d196d293d..c930afd94 100644 --- a/libbb/get_shell_name.c +++ b/libbb/get_shell_name.c @@ -17,11 +17,9 @@ const char *get_shell_name(void) if (shell && shell[0]) return shell; -#if !ENABLE_PLATFORM_MINGW32 pw = getpwuid(getuid()); if (pw && pw->pw_shell && pw->pw_shell[0]) return pw->pw_shell; -#endif return DEFAULT_SHELL; } -- cgit v1.2.3-55-g6feb