PelionIoT / meta-mbl

Mbed Linux OS (mbl) main repository & OpenEmbedded layers - Mbed Linux OS has been deprecated as a product in the Pelion portfolio. It is still available in the Github repos (with all documentation), but will remain frozen at version 0.10.
https://os.mbed.com/docs/mbed-linux-os/latest
Other
27 stars 8 forks source link

Zeus forward port: initramfs-init-script: Fix "mount" exit code check #794

Closed jonathanhaigh-arm closed 4 years ago

jonathanhaigh-arm commented 4 years ago

The checks of mount's exit codes in this script don't do what was intended, so change them to do what was intended.

I don't want to have to put the fix in twice, so factor out the code into a function.

Note: This is a forward port of 6ac048425feb5b56eebf22a8137c8efe73f902ec from the warrior-dev branch.