- Notifications
You must be signed in to change notification settings - Fork288
Commit10212d7
Set a default PATH if PATH is empty or unset
mount(1) unsets PATH before calling mount.fuse. Therefore it's not setin gocrpytfs either and daemonization fails if gocryptfs was notexecuted via an absolute path.mount.fuse handles this by leaving the execution of the helper to/bin/sh. /bin/sh handles an empty PATH by searching a few defaultlocations.This patch sets the PATH to a sane default if it's empty or unset.1 parent53d6a99 commit10212d7
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
0 commit comments
Comments
(0)