mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-09 16:36:26 +00:00
Typos
This commit is contained in:
parent
70cb0a39db
commit
a5abc06812
6
src/tomb
6
src/tomb
@ -509,7 +509,7 @@ mount_tomb() {
|
|||||||
# try also adding a .tomb extension
|
# try also adding a .tomb extension
|
||||||
tombfile="${CMD2%\.*}.tomb"
|
tombfile="${CMD2%\.*}.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
|
||||||
@ -556,7 +556,7 @@ mount_tomb() {
|
|||||||
tombmount=/media/`basename ${tombfile}`
|
tombmount=/media/`basename ${tombfile}`
|
||||||
act "mountpoint not specified, using default: $tombmount"
|
act "mountpoint not specified, using default: $tombmount"
|
||||||
elif ! [ -x $CMD3 ]; then
|
elif ! [ -x $CMD3 ]; then
|
||||||
error "mountpoint $CMD2 doesn't exist, operation aborted."
|
error "mountpoint $CMD3 doesn't exist, operation aborted."
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
tombmount=$CMD3
|
tombmount=$CMD3
|
||||||
@ -654,7 +654,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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user