Browse Source

fix bug

master
xiaoz 4 years ago
parent
commit
ab0938ac0a
  1. 1
      set_swap.sh

1
set_swap.sh

@ -34,6 +34,7 @@ function set_swap(){
#判断当前是否开启了虚拟内存 #判断当前是否开启了虚拟内存
if swapon -s if swapon -s
then then
echo '---------------------------------'
echo 'You have already set up swap, there is no need to repeat the settings.' echo 'You have already set up swap, there is no need to repeat the settings.'
exit exit
else else

Loading…
Cancel
Save