From: Chris Koeritz Date: Thu, 21 Jan 2021 19:47:57 +0000 (-0500) Subject: fixed comments X-Git-Tag: 2.140.128~1^2~33 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=aee373a2055b910d673559cd60225104ee20e898;p=feisty_meow.git fixed comments --- 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)"