SCCS-vsn: usr.bin/rdist/docmd.c 4.24
-static char *sccsid = "@(#)docmd.c 4.23 (Berkeley) 85/02/04";
+static char *sccsid = "@(#)docmd.c 4.24 (Berkeley) 85/02/05";
signal(SIGTERM, cleanup);
for (c = cmds; c != NULL; c = c->c_next) {
signal(SIGTERM, cleanup);
for (c = cmds; c != NULL; c = c->c_next) {
+ if (dhosts != NULL && *dhosts != NULL) {
for (cpp = dhosts; *cpp; cpp++)
if (strcmp(c->c_name, *cpp) == 0)
goto fndhost;
for (cpp = dhosts; *cpp; cpp++)
if (strcmp(c->c_name, *cpp) == 0)
goto fndhost;