Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Do not fail in the absence of a config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nbedos committed Jan 8, 2020
1 parent 1438e57 commit 87e86d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cistern/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func Main(w io.Writer) error {
}
}
case ErrMissingConf:
return fmt.Errorf(warningNoConfigFileFormat, paths[0])
fmt.Fprintf(w, warningNoConfigFileFormat, paths[0])
default:
return err
}
Expand Down

0 comments on commit 87e86d3

Please sign in to comment.