From: Richard W.M. Jones Date: Tue, 28 Aug 2018 17:32:41 +0000 (+0100) Subject: Replace == with = since the former is a bash-ism. X-Git-Tag: v1.19~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5efe9f7a58cd0cdc6f4c279c7f0a69e57fbda56f;hp=d7fd8a7843030d2b1719353edfcd49dba3000122;p=virt-what.git Replace == with = since the former is a bash-ism. Thanks: Eric Blake. Fixes commit d7fd8a7843030d2b1719353edfcd49dba3000122. --- diff --git a/virt-what.in b/virt-what.in index d037a99..a2f8f19 100644 --- a/virt-what.in +++ b/virt-what.in @@ -42,7 +42,7 @@ use_sysctl() { # Lacking /proc, on some systems sysctl can be used instead. OS=$(uname) || fail "failed to get operating system name" - [ "$OS" == "OpenBSD" ] + [ "$OS" = "OpenBSD" ] } fail () {