vorta/flatpak/dependencies/fusermount-wrapper.sh

10 lines
239 B
Bash
Raw Normal View History

2019-05-04 08:53:49 +00:00
#!/bin/sh
if [ -z "$_FUSE_COMMFD" ]; then
FD_ARGS=
else
FD_ARGS="--env=_FUSE_COMMFD=${_FUSE_COMMFD} --forward-fd=${_FUSE_COMMFD}"
fi
exec flatpak-spawn --host --forward-fd=1 --forward-fd=2 --forward-fd=3 $FD_ARGS fusermount "$@"