mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +01:00
Use /bin/sh as a fallback to SHELL in encfssh (#538)
This commit is contained in:
parent
dafeb556d2
commit
4f21701c1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user