Project

General

Profile

« Previous | Next » 

Revision 13208

lib/runscripts/util.run: $wrap_fn: log at higher log_level because it's startup code

View differences:

trunk/lib/runscripts/util.run
77 77

  
78 78
# usage: sudo $wrap_fn fn ...
79 79
wrap_fn=
80
if is_world_executable "$top_script"; then wrap_fn="$(esc "$top_script")"; fi
80
if log++ is_world_executable "$top_script"; then
81
	wrap_fn="$(esc "$top_script")"
82
fi
81 83

  
82 84
func_override sudo__util_sh
83 85
function sudo() # usage: sudo fn|cmd ... # supports shell functions as well

Also available in: Unified diff