Skip to content

Commit 506d0c2

Browse files
committed
loopd: refactor into Start/Stop methods
1 parent 215e5b9 commit 506d0c2

File tree

4 files changed

+279
-105
lines changed

4 files changed

+279
-105
lines changed

cmd/loopd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ func main() {
1010
cfg := loopd.RPCConfig{}
1111
err := loopd.Start(cfg)
1212
if err != nil {
13-
fmt.Println(err)
13+
fmt.Printf("loopd exited with an error: %v\n", err)
1414
}
1515
}

0 commit comments

Comments
 (0)