diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 08:52:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 08:52:02 +0000 |
commit | 15611bb95815de14bcb35f66bd10089a322ea30b (patch) | |
tree | 818f4e4a208cc04e37f2ea12fd4bda4eae30dd4c /shell | |
parent | 16d58d75ee11f3b50550fbef7da12a4adbab66d4 (diff) | |
download | busybox-15611bb95815de14bcb35f66bd10089a322ea30b.tar.gz |
A few more string duplicates found & eliminated
# size busybox_old busybox_unstripped
text data bss dec hex filename
679693 2700 15632 698025 aa6a9 busybox_old
679523 2700 15632 697855 aa5ff busybox_unstripped
Diffstat (limited to 'shell')
-rw-r--r-- | shell/msh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/msh.c b/shell/msh.c index aab805ff5..2ee5256f7 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -5213,9 +5213,9 @@ int msh_main(int argc, char **argv) if (path->value == null) { /* Can be merged with same string elsewhere in bbox */ if (geteuid() == 0) - setval(path, "/sbin:/usr/sbin:/bin:/usr/bin"); + setval(path, bb_default_root_login_path); else - setval(path, "/sbin:/usr/sbin:/bin:/usr/bin" + sizeof("/sbin:/usr/sbin")); + setval(path, bb_default_login_path); } export(path); |