aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-02 02:36:18 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-02 02:36:18 +0000
commitdc4e75ef7ca135c836d22e380847672cf5b3773b (patch)
treed2ff4fef7b9192de63761935103699569ecbb2ee /shell/ash.c
parent005f83adf511ab89296639abbef737ad4e5826f9 (diff)
downloadbusybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.gz
busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.bz2
busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.zip
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant. Vodz last_patch_107
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 521d65ab6..59aa336cd 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3729,7 +3729,7 @@ repeat:
3729 for (ap = argv; *ap; ap++) 3729 for (ap = argv; *ap; ap++)
3730 ; 3730 ;
3731 ap = new = ckmalloc((ap - argv + 2) * sizeof(char *)); 3731 ap = new = ckmalloc((ap - argv + 2) * sizeof(char *));
3732 *ap++ = cmd = "/bin/sh"; 3732 *ap++ = cmd = (char *)DEFAULT_SHELL;
3733 while ((*ap++ = *argv++)) 3733 while ((*ap++ = *argv++))
3734 ; 3734 ;
3735 argv = new; 3735 argv = new;