2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-09 21:10:15 +00:00

Merge pull request #3949 from samveen/minor_fix

xHRM: fix minor code bug
This commit is contained in:
Yuan Bai
2017-09-20 10:44:45 +08:00
committed by GitHub

View File

@@ -265,7 +265,7 @@ elif [ "bridgeprereq" = "$1" ]; then
nwdir="/etc/network/interfaces.d"
isDebian=1
getcap /usr/bin/qemu-system-x86_64 | grep cap_net_admin
if [ $? ne 0 ];then
if [ $? -ne 0 ];then
setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
fi
else