fix go2rtc run (#8692)

This commit is contained in:
Sergey Krashevich authored and GitHub committed 2023-11-20 19:09:40 -06:00
1 parent ea247ca816
commit 463865db55
1 file changed
+1
@@ -48,6 +48,7 @@ export LIBAVFORMAT_VERSION_MAJOR=$(ffmpeg -version | grep -Po 'libavformat\W+\K\
if [[ -f "/dev/shm/go2rtc.yaml" ]]; then
echo "[INFO] Removing stale config from last run..."
rm /dev/shm/go2rtc.yaml
fi
if [[ ! -f "/dev/shm/go2rtc.yaml" ]]; then
echo "[INFO] Preparing new go2rtc config..."