Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
change structure of if statement to avoid args error
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorysprenger committed Jan 20, 2023
1 parent 3960b41 commit 05cf3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bash_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05cf3cf

Please sign in to comment.