fix: conditional expression

This commit is contained in:
aclist committed 2024-01-23 14:47:14 +09:00
1 parent 2ca5bf31d1
commit 858bd066d7
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version=5.0.0.rc-24
version=5.0.0.rc-25
#CONSTANTS
aid=221100
@@ -1190,7 +1190,7 @@ check_timestamps(){
merge_modlists(){
local diff="$1"
readarray -t needs_update < <(check_timestamps)
if [[ ${#needs_update[@]} -eq 0]]; then
if [[ ${#needs_update[@]} -eq 0 ]]; then
echo "$diff"
return 0
fi