aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-18 11:25:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-18 11:25:18 +0000
commit730106767e3a5a6d9c3f9243ffcd6ba0c501f120 (patch)
tree4596a2fad6a222e309496892f0fea913cee81717 /shell
parent40e84374ec658ab44e3065b170d268b0ea0cbb27 (diff)
downloadbusybox-730106767e3a5a6d9c3f9243ffcd6ba0c501f120.tar.gz
hush: fix thinko in unset_func
Diffstat (limited to 'shell')
-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;
}
}