From 5d264da8425ac76b4e34ee85626f564bc86d21fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 1 Dec 2019 21:08:37 +0100 Subject: [PATCH] Fix swapoff --- scripts/experimental_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/experimental_helper.sh b/scripts/experimental_helper.sh index 2add257..1d3db9b 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -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