diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-10-04 11:22:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2019-10-07 14:40:41 +0300 |
commit | ab601b882b9d9d8248250111317615db1aa7b7c6 (patch) | |
tree | 09a064975280c5c7666f99712e5fe2b88dea1357 /plugins | |
parent | 5584438180cb21af73aad3ee8ab4f9e83161af83 (diff) | |
download | rpm-ab601b882b9d9d8248250111317615db1aa7b7c6.tar.gz |
Fix suspicious condition in selinux plugin
Misplaced parenthesis introduced in commit 148e82833a.
Fixes #872
Diffstat (limited to 'plugins')
-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 f1caf257c..a51f95e83 100644 --- a/plugins/selinux.c +++ b/plugins/selinux.c @@ -143,7 +143,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; rpmlog(loglvl(xx < 0), "setexecfilecon: (%s) %s\n", |