As restorecond does not use the matchpathcon family but the selabel one, via selinux_restorecon(3), drop the last unneeded call. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- restorecond/user.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/restorecond/user.c b/restorecond/user.c index 3ae3ebbb..defba9b4 100644 --- a/restorecond/user.c +++ b/restorecond/user.c @@ -279,8 +279,6 @@ int server(int master_fd, const char *watch_file) { if (watch_list_isempty()) goto end; - set_matchpathcon_flags(MATCHPATHCON_NOTRANS); - GIOChannel *c = g_io_channel_unix_new(master_fd); g_io_add_watch_full(c, -- 2.40.1