forked from ungleich-public/cdist
fix another SC2166 (test [ .. -a.. ]
replaced by [ .. ] && ]
)
This commit is contained in:
parent
ab9e2264df
commit
134c84607f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue