add -c to bash with --rcfile
This commit is contained in:
parent
707bb6e2d6
commit
3384f79c62
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ function sudo() {
|
|||
# SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi )
|
||||
SUDO=$(which sudo)
|
||||
|
||||
[ getbashrcfile ] && BASH="bash --rcfile $(getbashrcfile)" || unset BASH
|
||||
[ getbashrcfile ] && BASH="bash --rcfile $(getbashrcfile) -c " || unset BASH
|
||||
|
||||
if $SSHS ; then
|
||||
logwarning "TEMPCONFIG"
|
||||
|
|
Loading…
Reference in a new issue