commit | dc4e75ef7ca135c836d22e380847672cf5b3773b | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Tue Sep 02 02:36:18 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Tue Sep 02 02:36:18 2003 +0000 |
tree | d2ff4fef7b9192de63761935103699569ecbb2ee | |
parent | 005f83adf511ab89296639abbef737ad4e5826f9 [diff] [blame] |
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one constant. Vodz last_patch_107
diff --git a/shell/ash.c b/shell/ash.c index 521d65a..59aa336 100644 --- a/shell/ash.c +++ b/shell/ash.c
@@ -3729,7 +3729,7 @@ for (ap = argv; *ap; ap++) ; ap = new = ckmalloc((ap - argv + 2) * sizeof(char *)); - *ap++ = cmd = "/bin/sh"; + *ap++ = cmd = (char *)DEFAULT_SHELL; while ((*ap++ = *argv++)) ; argv = new;