From ccf4c09a4da40c13a171f58201f59d82b193dfed Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 5 Jun 2022 16:58:30 +0700 Subject: [PATCH] Update ynh_add_swap --- scripts/ynh_add_swap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_add_swap b/scripts/ynh_add_swap index 0f7a2ee..a54456f 100644 --- a/scripts/ynh_add_swap +++ b/scripts/ynh_add_swap @@ -48,7 +48,7 @@ ynh_add_swap () { echo $swap_size echo $() # If there's enough space for a swap, and no existing swap here - if [[ $swap_size -ne 0 ]] && [[ ! -e /swap_$app ]] + if [[ $swap_size -ne 0 ]] #&& [[ ! -e /swap_$app ]] then echo "OK ici" # Create file