diff options
Diffstat (limited to 'posix/wordexp.c')
-rw-r--r-- | posix/wordexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/wordexp.c b/posix/wordexp.c index f470e083ef..f6062d58c8 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -1915,7 +1915,7 @@ envsubst: if (pattern && !value) goto no_space; - __setenv (env, value, 1); + __setenv (env, value ?: "", 1); break; default: |