We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7439f10 commit 2d257a1Copy full SHA for 2d257a1
1 file changed
scripts/pyvcp_demo
@@ -108,7 +108,7 @@ done
108
cd "$(dirname "$HALFILE")" || { echo "E: Could not change directory to '$(dirname "$HALFILE")'"; exit 1; }
109
110
halmsg=/tmp/pyvcp_demo_halcmd.err
111
-halcmd -f "$HALFILE" > "$halmsg" 2>&1
+halcmd -f "$HALFILE" >| "$halmsg" 2>&1
112
halstatus=$?
113
if [ "$halstatus" != 0 ] ; then
114
IFS=$'\n' # split lines
0 commit comments