hg-fast-export.sh: Do not ignore hg-fast-export.py exit code
authorKyle J. McKay <mackyle@gmail.com>
Sat, 15 Mar 2014 04:02:26 +0000 (21:02 -0700)
committerFrej Drejhammar <frej.drejhammar@gmail.com>
Sun, 16 Mar 2014 15:00:42 +0000 (16:00 +0100)
commit8ed62c9cf7d6b97b193191e495162af994796355
tree831c5971bf143163ca3af8365e463e2d47018435
parent8b6c6e5cfffd6896e8d78c200261e6e6a473ed71
hg-fast-export.sh: Do not ignore hg-fast-export.py exit code

Originally 9643aa5d did this by using a bashism even though the
/bin/sh interpreter is being used.

Then ea55929e attempted to compensate for this by disabling the
bashism when the interpreter was not actually bash which results
in the hg-fast-export.py exit code still being ignored in that case.

Instead check the error code without requiring a bashism.
hg-fast-export.sh