From: Andre Noll Date: Tue, 21 Jun 2016 07:22:29 +0000 (+0200) Subject: daemon: Improve color error message. X-Git-Tag: v0.5.6~9 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=ec8cfb46f08f820d56fa354341d8c939742faad8 daemon: Improve color error message. If the string passed to daemon_set_log_color_or_die() can not be parsed, we don't have a syntax error but an invalid argument. --- diff --git a/daemon.c b/daemon.c index 478b0f47..5a92451a 100644 --- a/daemon.c +++ b/daemon.c @@ -74,7 +74,7 @@ static void daemon_set_log_color_or_die(char const *arg) color_parse_or_die(p, me->log_colors[ll]); return; err: - PARA_EMERG_LOG("%s: color syntax error\n", arg); + PARA_EMERG_LOG("%s: invalid color argument\n", arg); exit(EXIT_FAILURE); }