Fix file existence check in dedup_and_sort_listfile

This commit is contained in:
Sh4dow
2025-11-18 15:28:21 +00:00
committed by GitHub
parent e6e86b4258
commit c0de7f1d37
+1 -1
View File
@@ -417,7 +417,7 @@ function ensure_cmds(){
}
function dedup_and_sort_listfile(){
if test -f "$1"; then
if ! test -f "$1"; then
echo "File not found: $1" >&2; return 2
else
temp="$(mktemp)"