diff options
Diffstat (limited to 'vpn/vpn-config.c')
-rwxr-xr-x | vpn/vpn-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vpn/vpn-config.c b/vpn/vpn-config.c index a5be332d..5f0e749a 100755 --- a/vpn/vpn-config.c +++ b/vpn/vpn-config.c @@ -498,12 +498,12 @@ static void config_notify_handler(struct inotify_event *event, if (event->mask & IN_CREATE) return; - if (event->mask & IN_DELETE) { + if (event->mask & (IN_DELETE | IN_MOVED_FROM)) { g_hash_table_remove(config_table, ident); return; } - if (event->mask & IN_MODIFY) { + if (event->mask & (IN_MODIFY | IN_MOVED_TO)) { struct vpn_config *config; char *path = get_dir(); |