Don't stow swap files gdi

This commit is contained in:
Salt 2024-04-26 10:46:50 -05:00
parent 13a662b060
commit 941b07bc3e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ checkconflict() {
error "Could not read directory: $1" 2
fi
# Get our list of files
local files="$(find "$1" -type f -o -type l)"
local files="$(find "$1" ! -name "*.swp" -type f -o -type l)"
local directories="$(find "$1" -type d)"
local -a conflict
# Iterate over them