home/neovim: fix auto-clean-swapfiles when swapfile still in use
This commit is contained in:
parent
1937168aa9
commit
735c42a147
|
@ -28,7 +28,7 @@ in
|
||||||
|
|
||||||
for swapfile in $OLD_SWAPFILES; do
|
for swapfile in $OLD_SWAPFILES; do
|
||||||
echo "Removing $swapfile"
|
echo "Removing $swapfile"
|
||||||
rm -- "$swapfile"
|
rm -- "$swapfile" || echo "Could not remove $swapfile, is it still in use?"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
Loading…
Reference in New Issue