Skip to content

Commit

Permalink
Fix overzealous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 authored and hkalodner committed Aug 25, 2022
1 parent 80d69b7 commit 7b72856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/daserver/daserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func startup() error {
if err != nil {
fmt.Printf("\nrevision: %v, vcs.time: %v\n", vcsRevision, vcsTime)
printSampleUsage()
if err != nil && !strings.Contains(err.Error(), "help requested") {
if !strings.Contains(err.Error(), "help requested") {
fmt.Printf("%s\n", err.Error())
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func main() {
if err != nil {
fmt.Printf("\nrevision: %v, vcs.time: %v\n", vcsRevision, vcsTime)
printSampleUsage(os.Args[0])
if err != nil && !strings.Contains(err.Error(), "help requested") {
if !strings.Contains(err.Error(), "help requested") {
fmt.Printf("%s\n", err.Error())
}

Expand Down

0 comments on commit 7b72856

Please sign in to comment.