From: Frank Terbeck Date: Wed, 3 Mar 2010 11:34:40 +0000 (+0100) Subject: Make sure /bin/mksh is used in minimal-shell() X-Git-Tag: v0.3.80~5 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=ba50de94fa8728459333e95a5019d1cfbf23dd78;hp=fbfb3eb9ac91ed02c34a4c3229b7d1a44703b0ce;p=grml-etc-core.git Make sure /bin/mksh is used in minimal-shell() If that is not done, the `env' program may start a mksh from the current directory, which we certainly do not want. At all. --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e30f511..f07fb67 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2956,7 +2956,7 @@ iwclient() { # spawn a minimally set up mksh - useful if you want to umount /usr/. minimal-shell() { emulate -L zsh - local shell="mksh" + local shell="/bin/mksh" if ! check_com -c ${shell}; then printf '`%s'\'' not available, giving up.\n' ${shell} >&2