diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:38:25 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:38:25 -0700 |
commit | 755e960a3c0c30da850142544d4977d184435116 (patch) | |
tree | 288cc8c460309761cee5e81d34ce67746136e6cf | |
parent | e833fd6a611f968cdc3a7079a8eaf027c48e8320 (diff) | |
download | connman-755e960a3c0c30da850142544d4977d184435116.tar.gz connman-755e960a3c0c30da850142544d4977d184435116.tar.bz2 connman-755e960a3c0c30da850142544d4977d184435116.zip |
timezone: Fix error handling of inotify function
-rw-r--r-- | src/timezone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timezone.c b/src/timezone.c index 263ee4ef..faf4488b 100644 --- a/src/timezone.c +++ b/src/timezone.c @@ -415,6 +415,9 @@ int __connman_timezone_init(void) g_free(dirname); + if (wd < 0) + return -EIO; + return 0; } |