From ab0938ac0ae986b46d6a201708c50d15f556c8f7 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Tue, 22 Dec 2020 16:15:46 +0800 Subject: [PATCH] fix bug --- set_swap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/set_swap.sh b/set_swap.sh index 6817a71..be67337 100644 --- a/set_swap.sh +++ b/set_swap.sh @@ -34,6 +34,7 @@ function set_swap(){ #判断当前是否开启了虚拟内存 if swapon -s then + echo '---------------------------------' echo 'You have already set up swap, there is no need to repeat the settings.' exit else