Skip to content

ocs-iso: Always return success after successful iso creation

Vitaly requested to merge vkuzmichev/clonezilla:ocs-iso_return into master

The ocs-iso script returns exit code of the last command executed. This is either failure of [ -e "$target_iso" ], or failure from [ "$BOOTUP" = "color" ], or result of $SETCOLOR_NORMAL execution.

In the case if BOOTUP is different from "color" ocs-iso returns non-zero (a failure) even after successful generation of iso image, which can confuse a caller script.

Signed-off-by: Vitaly Kuzmichev vkuzmichev@dev.rtsoft.ru

Merge request reports

Loading