forked from Shinonome/dots-hyprland
Fix file existence check in dedup_and_sort_listfile
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user