Skip to content

Commit

Permalink
Further guarding overwriting of /bin/mount by making it dependent on …
Browse files Browse the repository at this point in the history
…the existence of /bin/mount.util-linux.
  • Loading branch information
daniel-baumann committed May 8, 2013
1 parent 69a2504 commit 957eb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/boot/9990-mount-http.sh
Expand Up @@ -51,7 +51,7 @@ do_httpmount ()
FUSE_MOUNT="httpfs"
fi

if [ -n "${FUSE_MOUNT}" ]
if [ -n "${FUSE_MOUNT}" ] && [ -x /bin/mount.util-linux ]
then
# fuse does not work with klibc mount
ln -f /bin/mount.util-linux /bin/mount
Expand Down

0 comments on commit 957eb95

Please sign in to comment.