git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7fd8a7
)
Replace == with = since the former is a bash-ism.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 28 Aug 2018 17:32:41 +0000
(18:32 +0100)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
d037a99
..
a2f8f19
100644
(file)
--- 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 () {