mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix swapoff
This commit is contained in:
parent
eaa5281445
commit
5d264da842
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ ynh_del_swap () {
|
|||
# Clean the fstab
|
||||
sed -i "/#Swap added by $app/d" /etc/fstab
|
||||
# Desactive the swap file
|
||||
swapoff /swap_$app
|
||||
swapoff /swap_$app || true
|
||||
# And remove it
|
||||
rm /swap_$app
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue