mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
cmd/loop: set exit code 1 on error
This commit is contained in:
parent
5b684e295e
commit
7538e3cd84
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue