Update the comments about files ending in .sh
Prompted by: Alex Kozlov <spam@rm-rf.kiev.ua>
This commit is contained in:
parent
38b8fa9739
commit
a4dd7f22af
@ -958,10 +958,11 @@ _run_rc_killcmd()
|
||||
#
|
||||
# run_rc_script file arg
|
||||
# Start the script `file' with `arg', and correctly handle the
|
||||
# return value from the script. If `file' ends with `.sh', it's
|
||||
# sourced into the current environment. If `file' appears to be
|
||||
# a backup or scratch file, ignore it. Otherwise if it's
|
||||
# executable run as a child process.
|
||||
# return value from the script.
|
||||
# If `file' ends with `.sh', it's sourced into the current environment
|
||||
# when $rc_fast_and_loose is set, otherwise it is run as a child process.
|
||||
# If `file' appears to be a backup or scratch file, ignore it.
|
||||
# Otherwise if it is executable run as a child process.
|
||||
#
|
||||
run_rc_script()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user