projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbed459
)
try to prevent surprises on non restarted but upgraded nodes
author
minima
<minima>
Mon, 14 Oct 2002 13:03:57 +0000
(13:03 +0000)
committer
minima
<minima>
Mon, 14 Oct 2002 13:03:57 +0000
(13:03 +0000)
cmd/show/prefix.pl
patch
|
blob
|
history
diff --git
a/cmd/show/prefix.pl
b/cmd/show/prefix.pl
index df0f192c451632807d5bbbcb9ef7612ea2f3e40a..b416bf4b004e4ef9c2552b980af572ae368f37f0 100644
(file)
--- a/
cmd/show/prefix.pl
+++ b/
cmd/show/prefix.pl
@@
-20,7
+20,7
@@
foreach $l (@list) {
push @out, sprintf "%s DXCC: %d ITU: %d CQ: %d LL: %s %s (%s, %s)", uc $l, $a->dxcc, $a->itu, $a->cq, slat($a->lat), slong($a->long), $pre, $a->name;
$l = " " x length $l;
}
push @out, sprintf "%s DXCC: %d ITU: %d CQ: %d LL: %s %s (%s, %s)", uc $l, $a->dxcc, $a->itu, $a->cq, slat($a->lat), slong($a->long), $pre, $a->name;
$l = " " x length $l;
}
- if ($ans[0]->state) {
+ if ($
USDB::present && $
ans[0]->state) {
push @out, sprintf "%s City: %s State: %s", $l, join (' ', map {ucfirst} split(/\s+/, lc $ans[0]->city)), $ans[0]->state;
}
}
push @out, sprintf "%s City: %s State: %s", $l, join (' ', map {ucfirst} split(/\s+/, lc $ans[0]->city)), $ans[0]->state;
}
}