mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-25 18:42:16 -05:00
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
Block a user