Fixed some quoting mistakes
This commit is contained in:
parent
653bd9e938
commit
7df9c70879
@ -573,7 +573,7 @@ config)
|
|||||||
*) echo "Warning: Unknow runnable option specified.";;
|
*) echo "Warning: Unknow runnable option specified.";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ -n "${ezjail_imageaction} -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail."
|
[ -n "${ezjail_imageaction}" -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail."
|
||||||
|
|
||||||
case ${ezjail_imageaction} in
|
case ${ezjail_imageaction} in
|
||||||
attach)
|
attach)
|
||||||
@ -613,7 +613,7 @@ config)
|
|||||||
|
|
||||||
;;
|
;;
|
||||||
detach)
|
detach)
|
||||||
[ -n "${ezjail_id}" ] && exerr "Error: Jail ${ezjail_name} still running. Can't detach."
|
[ -n "${ezjail_id}" ] && exerr "Error: Jail ${ezjail_name} still running. Can not detach."
|
||||||
|
|
||||||
# Check, if image really attached
|
# Check, if image really attached
|
||||||
if [ -L "${ezjail_root}.device" ]; then
|
if [ -L "${ezjail_root}.device" ]; then
|
||||||
@ -626,7 +626,7 @@ config)
|
|||||||
case ${ezjail_imagetype} in
|
case ${ezjail_imagetype} in
|
||||||
crypto|bde) ezjail_imagedevice="${ezjail_device%.bde}" ;;
|
crypto|bde) ezjail_imagedevice="${ezjail_device%.bde}" ;;
|
||||||
eli) ezjail_imagedevice="${ezjail_device%.eli}" ;;
|
eli) ezjail_imagedevice="${ezjail_device%.eli}" ;;
|
||||||
*) ezjail_imagedevice="${ezjail_device} ;;
|
*) ezjail_imagedevice="${ezjail_device}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Unmount/detach everything
|
# Unmount/detach everything
|
||||||
@ -636,6 +636,7 @@ config)
|
|||||||
rm -f ${ezjail_root}.device
|
rm -f ${ezjail_root}.device
|
||||||
;;
|
;;
|
||||||
*) echo "Warning: Unknow image action specified.";;
|
*) echo "Warning: Unknow image action specified.";;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user