summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-12 08:52:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-12 08:52:02 +0000
commit15611bb95815de14bcb35f66bd10089a322ea30b (patch)
tree818f4e4a208cc04e37f2ea12fd4bda4eae30dd4c /shell
parent16d58d75ee11f3b50550fbef7da12a4adbab66d4 (diff)
downloadbusybox-w32-15611bb95815de14bcb35f66bd10089a322ea30b.tar.gz
busybox-w32-15611bb95815de14bcb35f66bd10089a322ea30b.tar.bz2
busybox-w32-15611bb95815de14bcb35f66bd10089a322ea30b.zip
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.c4
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)
5213 if (path->value == null) { 5213 if (path->value == null) {
5214 /* Can be merged with same string elsewhere in bbox */ 5214 /* Can be merged with same string elsewhere in bbox */
5215 if (geteuid() == 0) 5215 if (geteuid() == 0)
5216 setval(path, "/sbin:/usr/sbin:/bin:/usr/bin"); 5216 setval(path, bb_default_root_login_path);
5217 else 5217 else
5218 setval(path, "/sbin:/usr/sbin:/bin:/usr/bin" + sizeof("/sbin:/usr/sbin")); 5218 setval(path, bb_default_login_path);
5219 } 5219 }
5220 export(path); 5220 export(path);
5221 5221