diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-12 03:48:05 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-12 03:48:05 +0000 |
commit | 0399d5e489a3fa1d063e2c90cf1c579a25af3ec1 (patch) | |
tree | 19f24939fb521da5227d6edb78322c1bdbbe825a /usr.bin/rdist/docmd.c | |
parent | 18f821f2589f85ef55be411d8f018954b0c52e0f (diff) |
The statdb code has never been complete here
Diffstat (limited to 'usr.bin/rdist/docmd.c')
-rw-r--r-- | usr.bin/rdist/docmd.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c index 84f68e14a56..fe41ac2a555 100644 --- a/usr.bin/rdist/docmd.c +++ b/usr.bin/rdist/docmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: docmd.c,v 1.30 2014/07/12 03:02:27 guenther Exp $ */ +/* $OpenBSD: docmd.c,v 1.31 2014/07/12 03:48:04 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -963,21 +963,6 @@ docmds(struct namelist *hostlist, int argc, char **argv) if (!nflag) setvbuf(stdout, NULL, _IOLBF, 0); -#if defined(USE_STATDB) - if (!nflag && (dostatdb || juststatdb)) { - extern long reccount; - message(MT_INFO, "Making stat database [%s] ... \n", - gettimestr()); - if (mkstatdb() < 0) - error("Warning: Make stat database failed."); - message(MT_INFO, - "Stat database created: %d files stored [%s].\n", - reccount, gettimestr()); - if (juststatdb) - return; - } -#endif /* USE_STATDB */ - /* * Print errors for any command line targets we didn't find. * If any errors are found, return to main() which will then exit. |