config: Don't crash if we don't have a config file
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 26 Sep 2013 09:27:16 +0000 (10:27 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 26 Sep 2013 23:24:33 +0000 (16:24 -0700)
commit5f42930a418f9a83e8933344806b0c2dc6d5be6a
treebf4425123cbb1739a8b58b67bf63c9eb8c0624f1
parent7b8e970ad1f1ef96db23b379a41edeb40ef1e8b6
config: Don't crash if we don't have a config file

Adding a check in weston_config_full_path so that
we don't crash if we started without a config file.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
shared/config-parser.c
src/compositor.c