From 10e14d5ebdfdfe3acd1cd60692d9cffd07de04e2 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 11 Apr 2020 10:40:15 +0100 Subject: Fix POSIX build --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 6a03ef6b4..ca8acd705 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -14242,7 +14242,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) #if ENABLE_PLATFORM_MINGW32 if (strchr(name, '/') || strchr(name, '\\') || has_dos_drive_prefix(name)) { #else - if (strchr(name, '/' != NULL) { + if (strchr(name, '/') != NULL) { #endif entry->u.index = -1; if (act & DO_ABS) { -- cgit v1.2.3-55-g6feb