From a2272055f18c15eba034e5fb322aaf419e6b7873 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Tue, 3 Oct 2023 15:50:32 +0200 Subject: [PATCH] Remove printing of swap status --- postinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinstall b/postinstall index 0751cdd..d50be63 100755 --- a/postinstall +++ b/postinstall @@ -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