remove BASH in sudo
This commit is contained in:
parent
e3b72eb975
commit
7f747743c6
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ function sudo() {
|
|||
logdebug "\$1: $1"
|
||||
[ -e "$(which $1 2>/dev/null)" ] && C="x"
|
||||
logdebug "C: $C"
|
||||
[ getbashrcfile ] && BASH="bash --rcfile $(getbashrcfile) ${C:+-c}" || unset BASH
|
||||
[ getbashrcfile ] && BASH="bash --rcfile $(getbashrcfile)" || unset BASH
|
||||
logdebug "BASH1: $BASH"
|
||||
[ -z "${C:-x}" ] && unset BASH
|
||||
logdebug "BASH2: $BASH"
|
||||
|
|
Loading…
Reference in a new issue