We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba95374 commit f50ae68Copy full SHA for f50ae68
tools/dtrace/get-up-state.sh
@@ -4,10 +4,10 @@ set -o pipefail
4
5
filename='/tmp/get-up-state.out'
6
final='/tmp/get-up-state.final'
7
-rm -f $final
+echo "" > $final
8
9
# Gather our output first.
10
-dtrace -s /opt/oxide/crucible_dtrace/get-up-state.d | awk 'NF' > "$filename"
+dtrace -Z -s /opt/oxide/crucible_dtrace/get-up-state.d | awk 'NF' > "$filename"
11
if [[ $? -ne 0 ]]; then
12
exit 1
13
fi
0 commit comments