fix loop over config files if none was found
commit907a5379a30c04d86d08046993cde2b61401df43
authorM. Dietrich <mdt@emdete.de>
Mon, 1 Jun 2009 11:01:31 +0000 (1 13:01 +0200)
committerJulien Danjou <julien@danjou.info>
Thu, 4 Jun 2009 08:21:16 +0000 (4 10:21 +0200)
treeeedf9d43a955b13f82a6f7d6bfc0aeae83e6b3de
parent7795f623dd3e2e3ba2eaf553c1468c3d52357207
fix loop over config files if none was found

if no file was found the string is just "\0" and neads a head
controled while

if no config file was found exit awesome with an error message
(fail early!)

Signed-off-by: Julien Danjou <julien@danjou.info>
awesome.c
luaa.c