summaryrefslogtreecommitdiff
path: root/scripts/probe.sh
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-16 13:47:34 -0700
committerMichael Forney <mforney@mforney.org>2020-06-16 13:48:09 -0700
commit7a8d4491c8581d5ebe69faeb351ab2ede13fbda1 (patch)
treebc6adf9ce5393fb5be04d6d6e5f55cc378a8e2d5 /scripts/probe.sh
parent8f994b6378b841eb9cf5d0048958fe98a323bf90 (diff)
probe: Create output when test fails
This was a regression in 785b495ba77ee716740523df566c560c63b4ddcc.
Diffstat (limited to 'scripts/probe.sh')
-rw-r--r--scripts/probe.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/probe.sh b/scripts/probe.sh
index cf306110..ac5b3988 100644
--- a/scripts/probe.sh
+++ b/scripts/probe.sh
@@ -9,5 +9,5 @@ var=$1
out=$2
shift 2
if "$@" 2>"$out.log" ; then
- echo "#define $var 1" >"$out"
-fi
+ echo "#define $var 1"
+fi >"$out"