aboutsummaryrefslogtreecommitdiffstats
path: root/restorecond/restorecond.c
diff options
context:
space:
mode:
Diffstat (limited to 'restorecond/restorecond.c')
-rw-r--r--restorecond/restorecond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/restorecond/restorecond.c b/restorecond/restorecond.c
index 7b984b29..d5f70fc2 100644
--- a/restorecond/restorecond.c
+++ b/restorecond/restorecond.c
@@ -84,7 +84,7 @@ static void done(void) {
selabel_close(r_opts.hnd);
}
-static const char *pidfile = "/var/run/restorecond.pid";
+static const char *pidfile = "/run/restorecond.pid";
static int write_pid_file(void)
{
@@ -217,7 +217,7 @@ int main(int argc, char **argv)
write_pid_file();
while (watch(master_fd, watch_file) == 0) {
- };
+ }
watch_list_free(master_fd);
close(master_fd);