mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
logpolicy: report the correct error
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
parent
0068e57407
commit
7b901fdbbc
@ -206,7 +206,7 @@ func New(collection string) *Policy {
|
||||
os.Args)
|
||||
log.Printf("LogID: %v\n", newc.PublicID)
|
||||
if filchErr != nil {
|
||||
log.Printf("filch failed: %v", err)
|
||||
log.Printf("filch failed: %v", filchErr)
|
||||
}
|
||||
|
||||
return &Policy{
|
||||
|
Loading…
Reference in New Issue
Block a user