diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | util/mount.fuse | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -12,6 +12,8 @@ * The filesystem may query interrupt status (regardless of 'intr') with the fuse_interrupted() function. + * mount.fuse: initialize $HOME if not set. Report from Sven Goldt + 2006-09-03 Miklos Szeredi <miklos@szeredi.hu> * lib: Multithreaded loop now allows unlimited number of threads. diff --git a/util/mount.fuse b/util/mount.fuse index 7eec6e0..1e1a2b4 100644 --- a/util/mount.fuse +++ b/util/mount.fuse @@ -9,6 +9,11 @@ VERSION="0.0.1" PRGNAME=`basename $0` +if [ -z "$HOME" ]; then + HOME=/root +fi +export HOME + USAGE="${PRGNAME} version ${VERSION} usage: ${PRGNAME} fusefs_type#[mountpath] mountpoint [FUSE options] |