home/neovim: fix auto-clean-swapfiles when swapfile still in use
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user