summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/selinux.c2
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",