X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=restore-src%2Famfetchdump.c;fp=restore-src%2Famfetchdump.c;h=d1f2b7c3f2f9540807bb732a163465f92aa8a79e;hb=71325c297e0436e9930a3e129a26696e78c27f62;hp=f3b282f0c2617860740d845101bd737ca1e3e8ce;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/restore-src/amfetchdump.c b/restore-src/amfetchdump.c index f3b282f..d1f2b7c 100644 --- a/restore-src/amfetchdump.c +++ b/restore-src/amfetchdump.c @@ -24,7 +24,7 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: amfetchdump.c,v 1.16 2006/08/24 01:57:15 paddy_s Exp $ + * $Id: amfetchdump.c,v 1.16.2.1 2006/09/27 12:04:09 martinea Exp $ * * retrieves specific dumps from a set of amanda tapes */ @@ -491,7 +491,7 @@ main( */ if(rst_flags->inventory_log){ fprintf(stderr, "Beginning tape-by-tape search.\n"); - search_tapes(stderr, 1, NULL, match_list, rst_flags, NULL); + search_tapes(stderr, stdin, 1, NULL, match_list, rst_flags, NULL); exit(0); } @@ -505,7 +505,7 @@ main( if(get_lock == 0) { error("%s exists: amdump or amflush is already running, or you must run amcleanup", rst_conf_logfile); } - search_tapes(NULL, 1, needed_tapes, match_list, rst_flags, NULL); + search_tapes(NULL, stdin, 1, needed_tapes, match_list, rst_flags, NULL); cleanup(); free_match_list(match_list);