summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/mfs_vnops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c
index e182be2..bfb4fe1 100755
--- a/src/mfs_vnops.c
+++ b/src/mfs_vnops.c
@@ -278,6 +278,12 @@ static int mfs_fsync(const char *path, int datasync,
static int mfs_release(const char *path, struct fuse_file_info *fi)
{
DEBUG("release %s\n", path);
+
+ if (strcmp(path, "/.config") == 0) {
+ /* Reload configuration file */
+ mfs_reload_config();
+ }
+
return (0);
}