diff --git a/debian/ngcp-rtpengine-iptables-setup b/debian/ngcp-rtpengine-iptables-setup index 3049d4fa2..5ca3e9a4d 100755 --- a/debian/ngcp-rtpengine-iptables-setup +++ b/debian/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