Fix SC2143.

This commit is contained in:
Darko Poljak 2018-10-05 12:21:59 +02:00
parent e46420e7f5
commit 7b17ad4733

View file

@ -44,7 +44,7 @@ for property in *; do
done
ver="$(cat "$__global/explorer/os_version")"
if [ -n "$(echo "$ver" | grep '^10\.' )" ]; then # Version is 10.x
if echo "$ver" | grep -q '^10\.'; then # Version is 10.x
__jail_freebsd10 "$@"
else
__jail_freebsd9 "$@"