Merge pull request #702 from tom-ee/fix-SC2166-global-explorer

fix another SC2166 (test `[ .. -a.. ]` replaced by `[ .. ] && ]`)
This commit is contained in:
Darko Poljak 2018-10-04 12:38:09 +02:00 committed by GitHub
commit b62b41b263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@
# FIXME: other system types (not linux ...)
if [ -d "/proc/vz" -a ! -d "/proc/bc" ]; then
if [ -d "/proc/vz" ] && [ ! -d "/proc/bc" ]; then
echo openvz
exit
fi