Use /bin/sh as a fallback to SHELL in encfssh (#538)

This commit is contained in:
Daniel Santana 2018-12-09 08:37:12 -02:00 committed by Ben RUBSON
parent dafeb556d2
commit 4f21701c1a

View File

@ -77,7 +77,7 @@ fuse_umount() {
}
# Honor the SHELL environment variable to select a shell to run
"$SHELL"; retval=$?
"${SHELL:-/bin/sh}"; retval=$?
# ensure that this shell isn't itself holding the mounted directory open
# ...but avoid terminating on failure, *or* causing a shellcheck warning for