Fix error handling for missing *.d/locks/ dir
commit1ec44d63e5560d00098954890661be9fb944ada6
authorRyan Lortie <desrt@desrt.ca>
Wed, 19 Oct 2011 21:39:10 +0000 (19 17:39 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 19 Oct 2011 21:39:10 +0000 (19 17:39 -0400)
tree90aabd164e6c0d5dbea783936f6e8cbc96b755c0
parent8bd03b799e6efa97bf4df2cc5093f5d3e9964c28
Fix error handling for missing *.d/locks/ dir

We were incorrectly checking for NULL as a return value from Dir.open()
when that function as bound as throwing an exception on error -- so
catch the exception instead.

https://bugzilla.gnome.org/show_bug.cgi?id=662158
bin/dconf-update.vala