Skip to content
Snippets Groups Projects

ocs-iso: Always return success after successful iso creation

Closed 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading