From d85884141d69949337959dfa48114d12e542f145 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 7 Sep 2006 06:08:56 +0000 Subject: [PATCH] fix --- ChangeLog | 2 ++ util/mount.fuse | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7392a5e..744ab42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * 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] -- 2.11.4.GIT