Skip to content

Commit

Permalink
remove superfluicious logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Apr 8, 2024
1 parent cfc7011 commit 6fc5f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/usr/share/noisecapt/noisecapt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ while true; do

# Link latest spectrogram to PNG file
ln -sf "${OUTFILE}spectro-$(date -d @"$AUDIOTIME" +%y%m%d-%H%M%S).png" "${OUTFILE}spectro-latest.png"
LOG "ln -sf ${OUTFILE}pectro-$(date -d @"$AUDIOTIME" +%y%m%d-%H%M%S).png ${OUTFILE}/spectro-latest.png"
# LOG "ln -sf ${OUTFILE}pectro-$(date -d @"$AUDIOTIME" +%y%m%d-%H%M%S).png ${OUTFILE}/spectro-latest.png"
# clean up any PNG spectrograms older than 12 hours (720 minutes):
if [[ -z "$PF_DELETEAFTER" ]]; then (( DTIME=PF_DELETEAFTER * 60 )); else DTIME=60; fi
find "$OUTFILE"spectro-*.png -maxdepth 1 -mmin +"$DTIME" -delete
Expand Down

0 comments on commit 6fc5f8c

Please sign in to comment.