X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Flocal-debbugs;h=25c47c9300671f9e9a7a8e332627d898252c0840;hb=5bebdf8f3881f3347399c3cd14ed659e0523ed5c;hp=cae7203285e34716000c9f2fde7bcf9d85df9442;hpb=40b44f3c468381c635c04df7533f9fcb430f11ec;p=debbugs.git diff --git a/bin/local-debbugs b/bin/local-debbugs index cae7203..25c47c9 100755 --- a/bin/local-debbugs +++ b/bin/local-debbugs @@ -374,7 +374,7 @@ elsif ($options{search}) { my $pid = checkpid($options{mirror_location}.'/local-debbugs.pid'); if (not defined $pid or $pid == 0) { print STDERR "Unable to open pidfile or daemon not running: $!\n"; - print STDERR qq(Mr. T: "I pity da fool who tries to show a bug without a running daemon"\n); + print STDERR qq(Mr. T: "I pity da fool who tries to search for bugs without a running daemon"\n); print STDERR "Hint: try the --daemon option first\n"; exit 1; } @@ -438,9 +438,8 @@ sub run_rsync{ ); my ($output,$error) = ('',''); my $h = IPC::Run::start(['rsync',@{$param{options}}], - \undef,\$output,\$error); + \undef,$param{log},$param{log}); while ($h->pump) { - print {$param{log}} $output,$error; #print {$param{debug}} $error if defined $param{debug}; } $h->finish();