Replace == with = since the former is a bash-ism.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 28 Aug 2018 17:32:41 +0000 (18:32 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 28 Aug 2018 17:32:41 +0000 (18:32 +0100)
Thanks: Eric Blake.

Fixes commit d7fd8a7843030d2b1719353edfcd49dba3000122.

virt-what.in

index d037a99..a2f8f19 100644 (file)
@@ -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 () {