summaryrefslogtreecommitdiff
path: root/user/encfs/shell.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 19:01:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 19:01:37 +0000
commitaac2e58d446c70334d16091ee364eb62138c5b10 (patch)
tree9c6782a4533b3cbb32f1218d0a1f348d564c83a8 /user/encfs/shell.patch
parent3f0f2886d84db1e2bb2b4774d3c7b8112ea34fc7 (diff)
downloadpackages-aac2e58d446c70334d16091ee364eb62138c5b10.tar.gz
packages-aac2e58d446c70334d16091ee364eb62138c5b10.tar.bz2
packages-aac2e58d446c70334d16091ee364eb62138c5b10.tar.xz
packages-aac2e58d446c70334d16091ee364eb62138c5b10.zip
user/[KDE Plasma]: Bump to 5.18.2
Diffstat (limited to 'user/encfs/shell.patch')
-rw-r--r--user/encfs/shell.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/encfs/shell.patch b/user/encfs/shell.patch
new file mode 100644
index 000000000..40876ca9f
--- /dev/null
+++ b/user/encfs/shell.patch
@@ -0,0 +1,22 @@
+From 4f21701c1aaeb3e5b9822231e011ac3224026a4c Mon Sep 17 00:00:00 2001
+From: Daniel Santana <daniel@santana.tech>
+Date: Sun, 9 Dec 2018 08:37:12 -0200
+Subject: [PATCH] Use /bin/sh as a fallback to SHELL in encfssh (#538)
+
+---
+ encfs/encfssh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/encfs/encfssh b/encfs/encfssh
+index fe7b502e..d9566f7d 100755
+--- a/encfs/encfssh
++++ b/encfs/encfssh
+@@ -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