From efd8d980c23b6ce0a0c1da4192c4eb6460074813 Mon Sep 17 00:00:00 2001 From: "William Hirigoyen (Evolix)" Date: Tue, 22 Feb 2022 15:30:32 +0100 Subject: [PATCH] Fix insecable space --- lib/bkctld-inc-lock | 4 ++-- lib/bkctld-remove | 2 +- lib/bkctld-rm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bkctld-inc-lock b/lib/bkctld-inc-lock index a71edf0..0888396 100755 --- a/lib/bkctld-inc-lock +++ b/lib/bkctld-inc-lock @@ -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 diff --git a/lib/bkctld-remove b/lib/bkctld-remove index 731d414..fec8015 100755 --- a/lib/bkctld-remove +++ b/lib/bkctld-remove @@ -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 diff --git a/lib/bkctld-rm b/lib/bkctld-rm index 926877e..c5b8dde 100755 --- a/lib/bkctld-rm +++ b/lib/bkctld-rm @@ -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