Fix small warning not appearing in go2rtc logs in UI (#5882)

I always forget that for the logs to appear there, they should not be sent to stderr but stdout.
This commit is contained in:
Felipe Santos 2023-03-30 22:03:42 -03:00 committed by GitHub
parent 1b8cd10142
commit bc16ad1f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ readonly config_path="/config"
if [[ -x "${config_path}/go2rtc" ]]; then
readonly binary_path="${config_path}/go2rtc"
echo "[WARN] Using go2rtc binary from '${binary_path}' instead of the embedded one" >&2
echo "[WARN] Using go2rtc binary from '${binary_path}' instead of the embedded one"
else
readonly binary_path="/usr/local/go2rtc/bin/go2rtc"
fi