2019-08-01 01:12:50 +00:00
|
|
|
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
|
2021-10-06 12:33:48 +00:00
|
|
|
Subject: [PATCH 07/22] Replace == with = since the former is a bash-ism.
|
2019-08-01 01:12:50 +00:00
|
|
|
|
|
|
|
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 () {
|
|
|
|
--
|
2021-10-06 12:33:48 +00:00
|
|
|
2.32.0
|
2019-08-01 01:12:50 +00:00
|
|
|
|