rmswp: exit on error

This commit is contained in:
PowerUser64 2022-05-22 08:43:28 -07:00
parent 9b648b02c0
commit 0faf8b4b36

View file

@ -2,6 +2,8 @@
# Deletes the swapfile created by mkswp()
set -e
if [ -d /swap ]; then
SWAPFILE=/swap/swapfile
else