X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/a476d0ac3518b87e6e8129b1d57417001691121e..89fb65086543e1d25e13c77570ea8bfa44ec4f48:/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 {