This commit is contained in:
Hellekin O. Wolf =8) 2011-02-11 17:10:56 +01:00 committed by Jaromil
parent f14b31ad59
commit 905550657b

View File

@ -509,7 +509,7 @@ mount_tomb() {
# try also adding a .tomb extension # try also adding a .tomb extension
tombfile=${tombfile%%\.*}.tomb tombfile=${tombfile%%\.*}.tomb
if ! [ -r $tombfile ]; then if ! [ -r $tombfile ]; then
error "cannot find a tomb named $CMD" error "cannot find a tomb named $CMD2"
return 1 return 1
fi fi
fi fi
@ -758,7 +758,7 @@ exec_bind_hooks() {
# restore $HOME for the calling user # restore $HOME for the calling user
HOME=/home/${SUDO_USER} HOME=/home/${SUDO_USER}
act "bind hooks found, mounting direcories as requested" act "bind hooks found, mounting directories as requested"
# execute the mount commands # execute the mount commands
eval $hook eval $hook
} }