1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Update ynh_add_swap

This commit is contained in:
Limezy 2022-06-05 15:45:06 +07:00
parent 228198fd4d
commit 58e9a2b274

View file

@ -48,6 +48,7 @@ ynh_add_swap () {
# If there's enough space for a swap, and no existing swap here # 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 then
echo "Ça marche"
# Create file # Create file
truncate -s 0 /swap_$app truncate -s 0 /swap_$app