aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshflags_private_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shflags_private_test.sh b/shflags_private_test.sh
index 6435925..86e4fdd 100755
--- a/shflags_private_test.sh
+++ b/shflags_private_test.sh
@@ -107,7 +107,7 @@ testItemInList() {
list='this is a test'
# shellcheck disable=SC2162
while read desc item want; do
- if [ ${want} -eq ${FLAGS_TRUE} ]; then
+ if [ "${want}" -eq "${FLAGS_TRUE}" ]; then
continue
fi
got=${FLAGS_TRUE}