vpn-config: Ignore IN_CREATE as IN_MODIFY is called anyway
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 7 Mar 2013 16:13:39 +0000 (18:13 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 8 Mar 2013 11:50:01 +0000 (13:50 +0200)
commite584c54cf1fb28e8f67a2983722640cbe13b49d9
treef1abb4b3e3e4518a955c025511c5fc3fdc6fb1e9
parent233b185bf1a8b7e9946aff88971fcecadf639dc7
vpn-config: Ignore IN_CREATE as IN_MODIFY is called anyway

Inotify will send modify event after create event when user has
copied the config file into config directory. Because of this
it is useless to act on create event. As a bonus we avoid
create/modify/create loop that was earlier done in the modify event
handling code.
vpn/vpn-config.c