mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Continue true install if setup swap fail
This commit is contained in:
parent
fdf59343d6
commit
a3b8824e72
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ ynh_add_swap () {
|
|||
# Create the swap
|
||||
mkswap /swap_$app
|
||||
# And activate it
|
||||
swapon /swap_$app
|
||||
swapon /swap_$app || true
|
||||
# Then add an entry in fstab to load this swap at each boot.
|
||||
echo -e "/swap_$app swap swap defaults 0 0 #Swap added by $app" >> /etc/fstab
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue