Project

General

Profile

« Previous | Next » 

Revision 9281

lib/sh/util.sh: command(): $cmd_log_fd: if not set, assume it's a script using util.sh (i.e. with log fd=$log_fd)

View differences:

lib/sh/util.sh
404 404
# to view only explicitly-displayed errors: explicit_errors_only=1 script...
405 405
{
406 406
	kw_params cmd_log_fd
407
	: "${cmd_log_fd=$log_fd}" # if not set, assume it's a script using util.sh
407 408
	
408 409
	cmd2rel_path; (echo_params; can_log) && indent || true
409 410
	(

Also available in: Unified diff