From 05cf3cf8be3635ba64518060b5500414b28ae230 Mon Sep 17 00:00:00 2001 From: gregorysprenger <42686628+gregorysprenger@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:14:54 -0500 Subject: [PATCH] change structure of if statement to avoid args error --- bin/bash_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bash_functions.sh b/bin/bash_functions.sh index 73aba77..1d57928 100755 --- a/bin/bash_functions.sh +++ b/bin/bash_functions.sh @@ -35,7 +35,7 @@ verify_file_minimum_size() # $2=file description # $3=size in Bytes # $4=percent of original file needed - if [ "${4}" -eq "100" ]; then + if [[ "${4}" == 100 ]]; then minimum_size=${3} output="less than ${3}" else