Fix insecable space
This commit is contained in:
parent
43826224e3
commit
efd8d980c2
|
@ -13,7 +13,7 @@ target_path="${2:?}"
|
|||
lock_target() {
|
||||
target="${1:?}"
|
||||
btrfs_bin=$(command -v btrfs)
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
error "btrfs not found. Please install brtfs-progs."
|
||||
fi
|
||||
if is_btrfs "${target}"; then
|
||||
|
@ -26,7 +26,7 @@ lock_target() {
|
|||
unlock_target() {
|
||||
target="${1:?}"
|
||||
btrfs_bin=$(command -v btrfs)
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
error "btrfs not found. Please install brtfs-progs."
|
||||
fi
|
||||
if is_btrfs "${target}"; then
|
||||
|
|
|
@ -53,7 +53,7 @@ rm -f "${CONFDIR}/${jail_name}"
|
|||
rm -rf "$(jail_config_dir "${jail_name}")"
|
||||
|
||||
btrfs_bin=$(command -v btrfs)
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
error "btrfs not found. Please install brtfs-progs."
|
||||
fi
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ delete_inc_btrfs() {
|
|||
inc_path=$(inc_path "${jail_name}" "${inc_name}")
|
||||
btrfs_bin=$(command -v btrfs)
|
||||
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
if [ -z ${btrfs_bin} ]; then
|
||||
error "btrfs not found. Please install brtfs-progs."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue