diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-10-04 11:22:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2020-03-26 11:57:58 +0200 |
commit | 7948d10ca5755cd07cd61d9684715d19ebc9c9a2 (patch) | |
tree | 764603ad3c8589f155f3ef34dc74984e953ffe0a | |
parent | bf2404de5e34dec80d78b3955c00798dc93d9e8b (diff) | |
download | rpm-7948d10ca5755cd07cd61d9684715d19ebc9c9a2.tar.gz |
Fix suspicious condition in selinux plugin
Misplaced parenthesis introduced in commit 148e82833a.
Fixes #872
(cherry picked from commit ab601b882b9d9d8248250111317615db1aa7b7c6)
(cherry picked from commit 1c9b0fcda92dad419fb340c0dc2a840cb017f6a5)
-rw-r--r-- | plugins/selinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/selinux.c b/plugins/selinux.c index 3c9d9e4ab..3ff91c089 100644 --- a/plugins/selinux.c +++ b/plugins/selinux.c @@ -140,7 +140,7 @@ exit: if (sehandle == NULL) return RPMRC_OK; - if ((xx = setexecfilecon(path, "rpm_script_t") == 0)) + if ((xx = setexecfilecon(path, "rpm_script_t")) == 0) rc = RPMRC_OK; if (rpmIsDebug()) { |