mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00: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
|
# if $noSwap is set, don't do anything
|
||||||
:
|
:
|
||||||
elif [[ -f /etc/dphys-swapfile ]];then
|
elif [[ -f /etc/dphys-swapfile ]];then
|
||||||
|
Loading…
Reference in New Issue
Block a user