Browse Source

fix bug

master
xiaoz 4 years ago
parent
commit
2826dc7b03
  1. 2
      set_swap.sh

2
set_swap.sh

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

Loading…
Cancel
Save