jayduhon / inferno-os

Automatically exported from code.google.com/p/inferno-os
2 stars 0 forks source link

mk doesn't return error code even if it fail #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
; mk nosuch && echo OK || echo ERROR

What is the expected output? What do you see instead?
Expect:
mk: don't know how to make 'nosuch'
ERROR
See:
mk: don't know how to make 'nosuch'
OK

Which operating system are you using?
Linux

Please provide any additional information below.
inferno-20110402

Original issue reported on code.google.com by powerman...@gmail.com on 18 Aug 2011 at 1:51

GoogleCodeExporter commented 9 years ago
BTW, host os version of mk works correctly (i.e. return error exit status when 
failed).

Original comment by powerman...@gmail.com on 18 Aug 2011 at 1:53

GoogleCodeExporter commented 9 years ago
appl/cmd/mk/mk.b
dis/mk.dis
include/version.h
committed changeset 517:3509cde9f4bf

Original comment by Charles....@gmail.com on 19 Aug 2011 at 5:07