summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/litest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/litest.c b/test/litest.c
index 492aa3a..2adec94 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -852,6 +852,12 @@ litest_signal(int sig)
/* in the sighandler, we can't free */
}
+ if (fork() == 0) {
+ /* child, we can run system() */
+ litest_reload_udev_rules();
+ exit(0);
+ }
+
exit(1);
}