Whamcloud - gitweb
LU-1199 lbuild: Fix error handling
authorChristopher J. Morrone <morrone2@llnl.gov>
Thu, 21 Feb 2013 00:26:11 +0000 (16:26 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 May 2013 06:11:48 +0000 (02:11 -0400)
commit05403115a680adf51990bc9439d78947e8a7beba
tree28e9cd23a55a21eb7b57f043c61048082c81cf7f
parentf57cb66e4b805843ed6290d16fa548b2d0d6907f
LU-1199 lbuild: Fix error handling

Improper grouping of expressions in the error() function meant
that even a simple "lbuild -h" would trigger a backtrace, and email to
someone at whamcloud.com.  That is fixed here.

Also stop sending email to a static email address on errors.

Also fix a minor typo.

Change-Id: I5a3f6131baaadc9dba23414e9e959f72fbda2679
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/5961
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/lbuild/funcs.sh
contrib/lbuild/lbuild