This website works better with JavaScript.
Home
Explore
Help
Sign In
Archives
/
loop
mirror of
https://github.com/lightninglabs/loop
Watch
2
Star
0
Fork
0
Code
Issues
0
Releases
33
Wiki
Activity
Browse Source
cmd/loop: set exit code 1 on error
pull/224/head
Oliver Gugger
7 months ago
parent
5b684e295e
commit
7538e3cd84
No known key found for this signature in database
GPG Key ID:
8E4256593F177720
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
cmd/loopd/main.go
+ 2
- 0
cmd/loopd/main.go
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
)
}
}
Write
Preview
Loading…
Cancel
Save