hush: fix recent breakage (VAR=VAL stopped working)
This commit is contained in:
parent
2b54aaa9bf
commit
53079d494e
@ -2420,7 +2420,7 @@ static int set_local_var(const char *s, int flg_export)
|
|||||||
result = -1;
|
result = -1;
|
||||||
} else {
|
} else {
|
||||||
cur->name = strdup(name);
|
cur->name = strdup(name);
|
||||||
if (cur->name) {
|
if (!cur->name) {
|
||||||
free(cur);
|
free(cur);
|
||||||
result = -1;
|
result = -1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user