Skip to content

fng-install: Use exit in error cases

Tobias Kahlki requested to merge fng-install-error-handling into dunfell

Replace return 1 with exit 1 in error cases. The trap handles the cleanup anyway. This should fix the overseen errors that ended up with 'Update successful' even when the rootfs couldn't be downloaded.

Additionally some minor tweaks: chmod on automounter only when it exist, to work with dunfell fngsystem, add some helper functions.

BCS 746-000241

Merge request reports

Loading