diff --git a/find.c b/find.c index 186263b..75b9f8e 100644 --- a/find.c +++ b/find.c @@ -607,6 +607,7 @@ get_exec_arg(char *argv[], union extra *extra) for (arg = argv, braces = e->u.s.braces; *arg; arg++) if (!strcmp(*arg, "{}")) *braces++ = arg; + *braces = NULL; } gflags.print = 0; return arg;