From 5efe9f7a58cd0cdc6f4c279c7f0a69e57fbda56f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 28 Aug 2018 18:32:41 +0100
Subject: [PATCH 07/25] Replace == with = since the former is a bash-ism.
Thanks: Eric Blake.
Fixes commit d7fd8a7843030d2b1719353edfcd49dba3000122.
---
virt-what.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 () {
--
2.18.4