platform_external_selinux/restorecond
Ondrej Mosnacek 385ef2cdc6 restorecond: Do not ignore the -f option
Since the default value of watch_file is set unconditionally *after* the
command-line arguments have been parsed, the -f option is (and has
always been) effectively ignored. Fix this by setting it before the
parsing.

Fixes: 48681bb49c ("policycoreutils: restorecond: make restorecond dbuss-able")
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2018-10-11 10:53:08 -04:00
..
.gitignore restorecond: Add gitignore 2016-11-16 11:20:05 -05:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile restorecond: Fix consistancy of DESTDIR usage 2018-06-02 20:21:25 +02:00
org.selinux.Restorecond.service Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restore.c restorecond: Musl compatibility for GLOB_BRACE and GLOB_TILDE 2018-05-17 13:08:34 +08:00
restore.h restorecond: break source dependency on policycoreutils/setfiles 2016-11-16 11:19:51 -05:00
restorecond.8 Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.c restorecond: Do not ignore the -f option 2018-10-11 10:53:08 -04:00
restorecond.conf Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.desktop Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.h restorecond: add noreturn attribute to exitApp() 2017-03-07 14:00:16 -05:00
restorecond.init Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.service Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond_user.conf Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
stringslist.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
stringslist.h Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
user.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
utmpwatcher.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
utmpwatcher.h Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
VERSION Update VERSIONs to 2.8 for release. 2018-05-24 14:21:09 -04:00
watch.c restorecond: Musl compatibility for GLOB_BRACE and GLOB_TILDE 2018-05-17 13:08:34 +08:00