detach improvements

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2012-02-20 16:41:53 +01:00
parent 6db545132f
commit ebcdad04c9
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ case ${2} in
(detach) (detach)
__state_lock __state_lock
grep -E "${1}$" ${STATE} \ grep -E "${PREFIX}/${1}$" ${STATE} \
| while read DEV PROVIDER MNT | while read DEV PROVIDER MNT
do do
TARGET=$( mount | grep -E "^${PROVIDER} " | awk '{print $3}' ) TARGET=$( mount | grep -E "^${PROVIDER} " | awk '{print $3}' )