libremesh / lime-sdk

LibreMesh software development kit
http://libremesh.org/
GNU General Public License v3.0
50 stars 36 forks source link

Have meaningful exit codes, not only for cooking #16

Open ilario opened 7 years ago

ilario commented 7 years ago

For solving #13, the pull request #15 took exit code from cooking process and returned it at the output of cooker. The exit code is forced to zero for the other tasks. For example, for downloading the SDK and IB the exit code will be always zero even when a failure happened (related discussion on #12).

p4u commented 7 years ago

I'm thinking about using "set -e" on some parts of the code where an non-zero exit code might be critical.