diff --git a/scripts/ynh_add_swap b/scripts/ynh_add_swap index 566a153..1ad0f13 100644 --- a/scripts/ynh_add_swap +++ b/scripts/ynh_add_swap @@ -45,10 +45,12 @@ ynh_add_swap () { local swap_size=0 fi + echo "Tests valeurs" + echo $($swap_size -ne 0) + echo $(! -e /swap_$app) # If there's enough space for a swap, and no existing swap here if [ $swap_size -ne 0 ] && [ ! -e /swap_$app ] then - echo "Ça marche" # Create file truncate -s 0 /swap_$app