[rear-devel] [rear/rear] 82c505: Update _input-output-functions.sh

Johannes Meixner noreply at github.com
Thu Jun 24 12:58:47 CEST 2021

  Branch: refs/heads/jsmeix-stdout-stderr-non-debug-1
  Home:   https://github.com/rear/rear
  Commit: 82c505e2cba23d31727bd552a5c1d8bc1ca91ff3
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M usr/share/rear/lib/_input-output-functions.sh

  Log Message:
  Update _input-output-functions.sh

Move the cleanup_build_area_and_end_program() function
from lib/framework-functions.sh to lib/_input-output-functions.sh
which is specifically sourced early in usr/sbin/rear
to have cleanup_build_area_and_end_program() available
for early Error() exits in usr/sbin/rear
and make cleanup_build_area_and_end_program()
and also the Error() function work fail-safe against
not yet existing log files and not yet sourced functions
in case of early Error() exits in usr/sbin/rear

More information about the rear-devel mailing list