summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-13 11:49:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-13 11:49:26 +0000
commit1ce66fa2b1a53efaf2045d07c94f2bab4d56ce6b (patch)
tree19728fce154bef6c0c431c0c5504b6f537ca99c0 /lib
parent923c27e857832fe13cbbe2d1bdb24c71a6be60e0 (diff)
you have to hate those stupid tools:
if you echo nlist |ftp some_url the site *won't* give you an error code, it will just spew out a stupid line like: Failed to change directory. Can't change directory to pub/OpenBSD/zoinx: No such file or directory and that on stdout !!! Detect this in list grabbing, and display a decent error message for the user. Avoids some duh moments where you won't find shit because you mistyped the url...
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions