Allow mixed case configuration commands in finit.conf

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-02-01 17:27:18 +01:00
parent 6f6ab6bc33
commit 63722a20ac
+1 -1
View File
@@ -31,7 +31,7 @@
#include "helpers.h"
#define MATCH_CMD(l, c, x) \
(!strncmp(l, c, strlen(c)) && (x = (l) + strlen(c)))
(!strncasecmp(l, c, strlen(c)) && (x = (l) + strlen(c)))
static char *strip_line(char *line)
{