diff --git a/src/libCom/iocsh/iocsh.cpp b/src/libCom/iocsh/iocsh.cpp index b239287c5..c8347794f 100644 --- a/src/libCom/iocsh/iocsh.cpp +++ b/src/libCom/iocsh/iocsh.cpp @@ -509,7 +509,7 @@ iocshBody (const char *pathname, const char *commandLine, const char *macros) struct iocshCommand *found; void *readlineContext = NULL; int wasOkToBlock; - static char *pairs[] = {NULL, NULL}; + static char *pairs[] = {"", "environ", NULL, NULL}; MAC_HANDLE *handle; char ** defines = NULL;