mediamtx/internal/core/upgrade_disabled.go
Alessandro Ros 7bca38badb
add self-upgrader (#3501) (#5035)
this allows to upgrade MediaMTX to latest version by running

./mediamtx --upgrade
2025-10-13 13:06:47 +02:00

9 lines
135 B
Go

//go:build !enableUpgrade
package core
import "fmt"
func upgrade() error {
return fmt.Errorf("upgrade command is not available")
}