diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-07 06:08:56 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-07 06:08:56 +0000 |
commit | d85884141d69949337959dfa48114d12e542f145 (patch) | |
tree | 465da0c5a080e36c2349e2085c60cc4f8d3f4595 | |
parent | 288ed4ebcea335c77793ee3d207c7466d55c4f71 (diff) |
fix
-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] |