summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-18 11:25:18 +0000
committerDenis Vlasenko2009-04-18 11:25:18 +0000
commit730106767e3a5a6d9c3f9243ffcd6ba0c501f120 (patch)
tree4596a2fad6a222e309496892f0fea913cee81717
parent40e84374ec658ab44e3065b170d268b0ea0cbb27 (diff)
downloadbusybox-730106767e3a5a6d9c3f9243ffcd6ba0c501f120.zip
busybox-730106767e3a5a6d9c3f9243ffcd6ba0c501f120.tar.gz
hush: fix thinko in unset_func
-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;
}
}