mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-10 16:08:23 +01:00
parent
b27f3bacc0
commit
608763a41a
@ -307,6 +307,10 @@ cmd_string_variable(const char *s, size_t *p)
|
||||
free(buf);
|
||||
if (envent == NULL)
|
||||
return (xstrdup(""));
|
||||
#ifdef TMATE
|
||||
if (envent->value == NULL)
|
||||
return (xstrdup(""));
|
||||
#endif
|
||||
return (xstrdup(envent->value));
|
||||
|
||||
error:
|
||||
|
Loading…
Reference in New Issue
Block a user