summaryrefslogtreecommitdiff
path: root/plugins/selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/selinux.c')
-rw-r--r--plugins/selinux.c2
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()) {