fix: backrestmon should call flag.Parse to correctly handle port overrides

This commit is contained in:
Gareth
2025-08-27 23:16:53 -07:00
parent ca54a063d9
commit da0ac093f1

View File

@@ -5,6 +5,7 @@ package main
import (
"context"
"flag"
"fmt"
"net"
"os"
@@ -24,6 +25,7 @@ import (
var icon []byte
func main() {
flag.Parse()
backrest, err := findBackrest()
if err != nil {
reportError(err)