From aee373a2055b910d673559cd60225104ee20e898 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 21 Jan 2021 14:47:57 -0500 Subject: [PATCH] fixed comments --- scripts/testing/squelch_unless_error.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/testing/squelch_unless_error.sh b/scripts/testing/squelch_unless_error.sh index 696abd73..c26fd94b 100644 --- a/scripts/testing/squelch_unless_error.sh +++ b/scripts/testing/squelch_unless_error.sh @@ -1,11 +1,13 @@ #!/bin/bash -# redirects standard out and standard error output to temp files and runs all the parameters to this script as a command. +# redirects standard out and standard error output to temp files and runs all +# the parameters to this script as a command. # if there is no error, then the files are just deleted. -# if there was an error, then the two output file are sent to standard out and standard error. -# an additional error message is sent to standard error. +# if there was an error, then the two output files are sent to standard out +# and standard error, and an additional explanatory error message is sent to +# standard error about the command that failed. -# echo "squelch args: $(printf -- "[%s] " "${@}")" +#echo "squelch args: $(printf -- "[%s] " "${@}")" newout="$(mktemp /tmp/squelch.out.XXXXXX)" newerr="$(mktemp /tmp/squelch.err.XXXXXX)" -- 2.34.1