]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
color: Simplify color error handling.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Nov 2010 20:48:42 +0000 (21:48 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 5 Dec 2010 17:52:40 +0000 (18:52 +0100)
We exit on errors anyway, so get rid of the return value of
color_parse() and daemon_set_log_color() and abort immediately rather
than returning -1. Add the familiar "_or_die" suffix to these functions
to make it clear that no error handling is necessary in the caller.


No differences found