mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-12-25 17:50:13 +01:00
Remove printing of swap status
This commit is contained in:
parent
8fee5bcb2f
commit
a2272055f1
@ -487,7 +487,7 @@ EOF
|
||||
}
|
||||
|
||||
create_swap_pool(){
|
||||
if ! pvesm status | grep swap; then
|
||||
if ! pvesm status | grep swap > /dev/null; then
|
||||
if ! zfs list rpool/swap > /dev/null 2>&1 ; then
|
||||
zfs create -o com.sun:auto-snapshot=false rpool/swap
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user