Handle execv() errors
commit05a8ef2ed9881c6ec5503f43d1cff38c7c815336
authorUli Schlachter <psychon@znc.in>
Sat, 14 Jul 2012 22:18:44 +0000 (15 00:18 +0200)
committerUli Schlachter <psychon@znc.in>
Sat, 14 Jul 2012 22:18:44 +0000 (15 00:18 +0200)
tree9215503ce710a83046b137c256c4606c41dd3f4b
parent36329f9fa610156c51440eefde26d2c72cf9826d
Handle execv() errors

Previously, awesome would just crash when execv() fails, because it already
destroyed all of its internal state, but then tries to do another main loop
iteration. Whoops.

Signed-off-by: Uli Schlachter <psychon@znc.in>
common/util.c