|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST] standalone: Log things we are running via with_logging
Turning on set -x is too verbose, so just echo the command ourselves.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
standalone | 1 +
1 file changed, 1 insertion(+)
diff --git a/standalone b/standalone
index c804b74..6897400 100755
--- a/standalone
+++ b/standalone
@@ -195,6 +195,7 @@ with_logging() {
if command -v savelog >/dev/null ; then
savelog -c 300 -n "$log" >/dev/null
fi
+ echo "+ $@" >&2
"$@" 2>&1 | tee "$log"
rc=${PIPESTATUS[0]}
if [ $rc -ne 0 ] ; then
--
2.6.1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |