From 63722a20acbbd63cd58e2c7258dbb61bd5f8afc0 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 1 Feb 2015 17:27:18 +0100 Subject: [PATCH] Allow mixed case configuration commands in `finit.conf` Signed-off-by: Joachim Nilsson --- conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.c b/conf.c index 7c19774d..4e674800 100644 --- a/conf.c +++ b/conf.c @@ -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) {