Project

General

Profile

« Previous | Next » 

Revision 8972

lib/runscripts/util.run: tell users to override run_args_cmd rather than this function to perform other commands, so that on_exit () can contain other exit-related processing that should not be overriden by the user

View differences:

util.run
23 23

  
24 24
if self_not_included; then
25 25

  
26
# users can override this function to perform other commands (or no commands)
26
# users can override run_args_cmd to perform other commands (or no commands)
27 27
# after the script is read
28 28
on_exit () { run_args_cmd; }
29 29
trap on_exit EXIT

Also available in: Unified diff