diff --git a/sys/boot/common/interp.c b/sys/boot/common/interp.c index e6bb3cccdf7b..d53a7ee5b70e 100644 --- a/sys/boot/common/interp.c +++ b/sys/boot/common/interp.c @@ -219,7 +219,7 @@ include(const char *filename) #else flags = 0; /* Discard comments */ - if (input[0] == '#') + if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0) continue; cp = input; /* Echo? */