Project

General

Profile

« Previous | Next » 

Revision 9202

bugfix: lib/sh/util.sh: command(): only indent if command was logged

View differences:

lib/sh/util.sh
235 235
	if test "$limit_stdout"; then local stdout2stderr=1 limit_stderr=1; fi
236 236
	local stderr_is_errors="${stderr_is_errors-$stdout2stderr}"
237 237
	
238
	cmd2rel_path; echo_cmd "$@"; indent
238
	cmd2rel_path; (echo_params; can_log) && indent || true
239 239
	(
240 240
		# the following redirections must happen in exactly this order
241 241
		if test "$limit_stderr"; then limit_stderr; fi

Also available in: Unified diff