toggle test case for noswap
This commit is contained in:
parent
4a4db7ab56
commit
cfac2be334
|
@ -60,7 +60,7 @@ function createSwapFile()
|
|||
}
|
||||
|
||||
|
||||
if [[ -z "$noSwap" ]]; then
|
||||
if [[ -n "$noSwap" ]]; then
|
||||
# if $noSwap is set, don't do anything
|
||||
:
|
||||
elif [[ -f /etc/dphys-swapfile ]];then
|
||||
|
|
Loading…
Reference in New Issue