Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Romani <[email protected]>
  • Loading branch information
ffromani committed Nov 27, 2024
1 parent 982ade4 commit ba6beee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rte/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ func main() {
} else if parsedArgs.DumpConfig == ".log" {
klog.Infof("current configuration:\n%s", conf)
} else {
err = os.WriteFile(parsedArgs.DumpConfig, []byte(conf), 0644)
if err != nil {
klog.Fatalf("failed to write the config to %q: %v", parsedArgs.DumpConfig, err)
}
klog.Fatalf("unsupported option: %q", parsedArgs.DumpConfig)
}
}

Expand Down

0 comments on commit ba6beee

Please sign in to comment.