Skip to content

Commit

Permalink
Fixing issue for non-existent usqlrc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Shaw committed Mar 29, 2017
1 parent e3f3a53 commit 81ab4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func run(args *Args, u *user.User) error {
// rc file
if rc := env.RCFile(u); !args.NoRC && rc != "" {
err = h.Include(rc, false)
if err != nil {
if err != nil && err != handler.ErrNoSuchFileOrDirectory {
return err
}
}
Expand Down

0 comments on commit 81ab4bf

Please sign in to comment.