aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 1da9707e0..0f93ae62b 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;
}
}