if ngcp-virt-identify not there should not break the script

pull/1292/head
Karsten Horsmann 5 years ago
parent b7040ad992
commit 11290d48b6

@ -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 if ngcp-virt-identify --type container; then
VIRT="yes" VIRT="yes"
fi fi

Loading…
Cancel
Save