mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-10-30 12:17:03 +00:00
fix: backrestmon should call flag.Parse to correctly handle port overrides
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user