[ofa-general] [Infiniband-Diags] [PATCH] saquery exit with non-zero code on bad input

Al Chu chu11 at llnl.gov
Tue Apr 1 11:29:39 PDT 2008


Hey Sasha,

If an input into saquery isn't found, saquery still exits with '0'
status, so it poses a problem in scripting.

This patch exits w/ non-zero if the input isn't found by saquery.

The actual status code I selected to return can be revised.  I just sort
of picked one.

Al

-- 
Albert Chu
chu11 at llnl.gov
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-exit-non-zero-if-saquery-input-not-found.patch
Type: text/x-patch
Size: 2134 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080401/e0bcdc39/attachment.bin>


More information about the general mailing list