aboutsummaryrefslogtreecommitdiff
path: root/capture.sh
diff options
context:
space:
mode:
Diffstat (limited to 'capture.sh')
-rwxr-xr-xcapture.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture.sh b/capture.sh
index 8e0455713..c41ee167d 100755
--- a/capture.sh
+++ b/capture.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+set -e || true
+set -u || true
+set -o pipefail || true
machine=$(etc/machine.sh)
measurement=$($1/measure | (LC_ALL=C sort -n || true) | head -1024 | tail -1)