From 11290d48b6ef105fb6d52797277911066dd0297c Mon Sep 17 00:00:00 2001 From: Karsten Horsmann Date: Tue, 22 Jun 2021 12:18:38 +0200 Subject: [PATCH] if ngcp-virt-identify not there should not break the script --- el/ngcp-rtpengine-iptables-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el/ngcp-rtpengine-iptables-setup b/el/ngcp-rtpengine-iptables-setup index c1016498c..9fde5ff6f 100755 --- a/el/ngcp-rtpengine-iptables-setup +++ b/el/ngcp-rtpengine-iptables-setup @@ -31,7 +31,7 @@ fi ### -if [ -x "$(which ngcp-virt-identify)" ]; then +if [ -x "$(which ngcp-virt-identify 2>/dev/null)" ]; then if ngcp-virt-identify --type container; then VIRT="yes" fi