From dc4e75ef7ca135c836d22e380847672cf5b3773b Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 2 Sep 2003 02:36:18 +0000 Subject: move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one constant. Vodz last_patch_107 --- loginutils/adduser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'loginutils/adduser.c') diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 41dc9f0..c4ab557 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c @@ -53,7 +53,6 @@ typedef struct { static const char default_passwd[] = "x"; static const char default_gecos[] = "Linux User,,,"; static const char default_home_prefix[] = "/home"; -static const char default_shell[] = "/bin/sh"; #ifdef CONFIG_FEATURE_SHADOWPASSWDS /* shadow in use? */ @@ -257,7 +256,7 @@ int adduser_main(int argc, char **argv) const char *login; const char *gecos = default_gecos; const char *home = NULL; - const char *shell = default_shell; + const char *shell = DEFAULT_SHELL; const char *usegroup = NULL; int flags; int setpass = 1; -- cgit v1.1