Ticket #1588 (new defect)

Opened 7 years ago

attach should exit non-zero on failure

Reported by: andersk Owned by:
Priority: normal Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

$ attach ''; echo $?
Error: Hesiod Error: Invalid argument while resolving 
0
$ attach .; echo $?
Error: Invalid locker name: .
0
$ attach nonexistent; echo $?
nonexistent: Locker unknown.
0
Note: See TracTickets for help on using tickets.