Skip to content

Commit 52ef66c

Browse files
hanybobveznat
authored andcommitted
Add proper exit code on error
1 parent 44d9b19 commit 52ef66c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

request_cert.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ func requestCert(c *cli.Context) {
178178
}
179179
} else {
180180
fmt.Println(err)
181+
os.Exit(1)
181182
}
182183

183184
}

0 commit comments

Comments
 (0)