summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 1da9707..0f93ae6 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2863,6 +2863,7 @@ static void unset_func(const char *name)
free(funcp);
break;
}
+ funcpp = &funcp->next;
}
}