Module: xenomai-jki Branch: for-forge Commit: b73532ff201df4e049cc7809a22d0d1e2d5c50fb URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b73532ff201df4e049cc7809a22d0d1e2d5c50fb
Author: Jan Kiszka <jan.kis...@siemens.com> Date: Wed Jan 7 18:00:38 2015 +0100 sysregd: Remove session rootdir on cleanup When the session-managing sysreg daemon terminates, try to clean up the session directory as well. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- lib/copperplate/regd/regd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/copperplate/regd/regd.c b/lib/copperplate/regd/regd.c index 3f7f378..8a66290 100644 --- a/lib/copperplate/regd/regd.c +++ b/lib/copperplate/regd/regd.c @@ -283,6 +283,7 @@ static void delete_system_fs(void) { umount2(sysroot, MNT_DETACH); rmdir(sysroot); + rmdir(rootdir); } static void handle_requests(void) _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git