geoipupdate return code documented incorrectly
Bug #877359 reported by
Troy Jendra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
geoip (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The man page for geoipupdate says it returns 0 on success, 1 on error. In practise, I'm getting 1 on success.
# lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04
# apt-cache policy geoip-bin
geoip-bin:
Installed: 1.4.6.dfsg-17
Candidate: 1.4.6.dfsg-17
Version table:
*** 1.4.6.dfsg-17 0
500 http://
100 /var/lib/
To post a comment you must log in.
I think the issue is to do when there is more than one dat file being updated... the return code appears to be for only the last updated file, instead of an aggregate for all files.