summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-05-09 00:33:14 +0000
committererdgeist <erdgeist@erdgeist.org>2006-05-09 00:33:14 +0000
commit7df9c70879bb431592fa20a395ad29e70abb1180 (patch)
tree19e788e82b8c41632bc72c2ff5a0a2cbb284d601
parent653bd9e9387ca4e207e3a955af042461c88d7d84 (diff)
Fixed some quoting mistakes
-rwxr-xr-xezjail-admin7
1 files changed, 4 insertions, 3 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 72f7b3c..5dfb143 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -573,7 +573,7 @@ config)
573 *) echo "Warning: Unknow runnable option specified.";; 573 *) echo "Warning: Unknow runnable option specified.";;
574 esac 574 esac
575 575
576 [ -n "${ezjail_imageaction} -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail." 576 [ -n "${ezjail_imageaction}" -a -z "${ezjail_image}" ] && exerr "Error: Jail ${ezjail_name} not an image jail."
577 577
578 case ${ezjail_imageaction} in 578 case ${ezjail_imageaction} in
579 attach) 579 attach)
@@ -613,7 +613,7 @@ config)
613 613
614 ;; 614 ;;
615 detach) 615 detach)
616 [ -n "${ezjail_id}" ] && exerr "Error: Jail ${ezjail_name} still running. Can't detach." 616 [ -n "${ezjail_id}" ] && exerr "Error: Jail ${ezjail_name} still running. Can not detach."
617 617
618 # Check, if image really attached 618 # Check, if image really attached
619 if [ -L "${ezjail_root}.device" ]; then 619 if [ -L "${ezjail_root}.device" ]; then
@@ -626,7 +626,7 @@ config)
626 case ${ezjail_imagetype} in 626 case ${ezjail_imagetype} in
627 crypto|bde) ezjail_imagedevice="${ezjail_device%.bde}" ;; 627 crypto|bde) ezjail_imagedevice="${ezjail_device%.bde}" ;;
628 eli) ezjail_imagedevice="${ezjail_device%.eli}" ;; 628 eli) ezjail_imagedevice="${ezjail_device%.eli}" ;;
629 *) ezjail_imagedevice="${ezjail_device} ;; 629 *) ezjail_imagedevice="${ezjail_device}" ;;
630 esac 630 esac
631 631
632 # Unmount/detach everything 632 # Unmount/detach everything
@@ -636,6 +636,7 @@ config)
636 rm -f ${ezjail_root}.device 636 rm -f ${ezjail_root}.device
637 ;; 637 ;;
638 *) echo "Warning: Unknow image action specified.";; 638 *) echo "Warning: Unknow image action specified.";;
639 esac
639 ;; 640 ;;
640 641
641############################################################################## 642##############################################################################