X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/84f9c31ec8ac38f165b5e16954c3637be91121a9..b1a11722df79ff28a2704e918ef0c3639d1db0d3:/usr/src/usr.bin/find/find.c diff --git a/usr/src/usr.bin/find/find.c b/usr/src/usr.bin/find/find.c index 69d7b2c5c4..3e5e6c791c 100644 --- a/usr/src/usr.bin/find/find.c +++ b/usr/src/usr.bin/find/find.c @@ -15,7 +15,7 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)find.c 4.31 (Berkeley) %G%"; +static char sccsid[] = "@(#)find.c 4.32 (Berkeley) %G%"; #endif /* not lint */ #include @@ -104,7 +104,8 @@ find_formplan(argv) * plan->next pointer. */ for (plan = NULL; *argv;) { - new = find_create(&argv); + if (!(new = find_create(&argv))) + continue; if (plan == NULL) tail = plan = new; else {