projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix USDB.pm so it uncompresses to a file
[spider.git]
/
cmd
/
load
/
usdb.pl
diff --git
a/cmd/load/usdb.pl
b/cmd/load/usdb.pl
index 7ed76067a9dc4082ca2b8820597ba4cf698d28e7..bd45547d106e8d5cd7c52a8fd054c58d7c4afe89 100644
(file)
--- a/
cmd/load/usdb.pl
+++ b/
cmd/load/usdb.pl
@@
-18,5
+18,6
@@
return (1, $self->msg('e5')) if $self->priv < 9;
return (1, $self->msg('e3', "load/usdb", $line)) if $line && !-r $line;
$line = "$main::data/usdbraw" unless $line;
push @out, (USDB::load($line));
+USDB::init() unless @OUT;
@out = ($self->msg('ok')) unless @out;
return (1, @out);