2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00

cmd/loop: set exit code 1 on error

This commit is contained in:
Oliver Gugger 2020-06-11 21:00:24 +02:00
parent 5b684e295e
commit 7538e3cd84
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -2,6 +2,7 @@ package main
import (
"fmt"
"os"
"github.com/lightninglabs/loop/loopd"
)
@ -11,5 +12,6 @@ func main() {
err := loopd.Run(cfg)
if err != nil {
fmt.Printf("loopd exited with an error: %v\n", err)
os.Exit(1)
}
}