Ticket #1580 (new defect)

Opened 8 years ago

Failing moira commands should exit with nonzero status

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

Description

$ blanche not-a-thing; echo $?
blanche: No such list while getting members of list not-a-thing
0
$ chpobox not-a-thing; echo $?
0
$ qy not-a-thing; echo $?
moira (query): Unknown query handle 
0
$ qy gmol not-a-thing; echo $?
moira (query): No such list 
0
Note: See TracTickets for help on using tickets.