Skip to content

Commit

Permalink
add missing $out
Browse files Browse the repository at this point in the history
  • Loading branch information
aschamberger committed Feb 24, 2024
1 parent 393190b commit e0790bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line_in.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ case $1 in
echo "Start looping from $INPUT_DEVICE to $OUTPUT_DEVICE."
nohup arecord -d0 -c2 -f S16_LE -r 44100 -traw -D $INPUT_DEVICE | aplay -c2 -f S16_LE -r 44100 -traw -D $OUTPUT_DEVICE - 1>/dev/null 2>/dev/null &
echo $! > $PID_FILE
cat $PID_FILE
cat $PID_FILE > $OUT
else
echo "Found .pid file named $PID_FILE. Instance of application already exists. Exiting."
exit
Expand Down

0 comments on commit e0790bc

Please sign in to comment.