aboutsummaryrefslogtreecommitdiff
path: root/lib/getmountlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getmountlist.c')
-rw-r--r--lib/getmountlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index 8fb43dc9..7a431010 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -13,6 +13,8 @@ void comma_args(struct arg_list *al, void *data, char *err,
char *next, *arg;
int len;
+ if (CFG_TOYBOX_DEBUG && !err) err = "INTERNAL";
+
while (al) {
arg = al->arg;
while ((next = comma_iterate(&arg, &len)))