forked from Shinonome/dots-hyprland
Fix file existence check in dedup_and_sort_listfile (#2514)
This commit is contained in:
@@ -417,7 +417,7 @@ function ensure_cmds(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function dedup_and_sort_listfile(){
|
function dedup_and_sort_listfile(){
|
||||||
if test -f "$1"; then
|
if ! test -f "$1"; then
|
||||||
echo "File not found: $1" >&2; return 2
|
echo "File not found: $1" >&2; return 2
|
||||||
else
|
else
|
||||||
temp="$(mktemp)"
|
temp="$(mktemp)"
|
||||||
|
|||||||
Reference in New Issue
Block a user