Prefer to if to '&&' (#64)

doNetConf check always true

Co-authored-by: Eric Litak <elitak@gmail.com>
This commit is contained in:
Akshay Mankar 2020-12-26 06:35:33 +01:00 committed by GitHub
parent a688bfaa0a
commit dfc6f222da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ EOF
}
EOF
[[ -n "$doNetConf" ]] && makeNetworkingConf
[[ -n "$doNetConf" ]] && makeNetworkingConf || true
}
makeNetworkingConf() {