Skip to content

Commit

Permalink
Improve bash search logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinChartier committed Jul 2, 2019
1 parent 2166585 commit 405d259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func New(sanicRoot, sanicConfig, sanicEnvironment string) (Shell, error) {
if shellName != "bash" {
fmt.Println("Warning: Bash is not your current shell, but it will be in a sanic environment.")
var err error
shellPath, err = exec.LookPath("fortune")
shellPath, err = exec.LookPath("bash")
if err != nil {
return nil, fmt.Errorf("bash needs to be installed to use sanic: %s", err.Error())
}
Expand Down

0 comments on commit 405d259

Please sign in to comment.