Skip to content

Commit 2d257a1

Browse files
committed
Redirect to file even if noclobber is set.
1 parent 7439f10 commit 2d257a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/pyvcp_demo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ done
108108
cd "$(dirname "$HALFILE")" || { echo "E: Could not change directory to '$(dirname "$HALFILE")'"; exit 1; }
109109

110110
halmsg=/tmp/pyvcp_demo_halcmd.err
111-
halcmd -f "$HALFILE" > "$halmsg" 2>&1
111+
halcmd -f "$HALFILE" >| "$halmsg" 2>&1
112112
halstatus=$?
113113
if [ "$halstatus" != 0 ] ; then
114114
IFS=$'\n' # split lines

0 commit comments

Comments
 (0)