Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #216 from Kishinskii/main
Browse files Browse the repository at this point in the history
fix panic: runtime error
  • Loading branch information
abdfnx authored Apr 18, 2022
2 parents e0ada34 + d1ec8aa commit dc9437f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/pipe/lister/passwords.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ func readPasswords(p string) []list.Item {
for _, line := range strings.Split(viper.GetString("passwords"), "\n") {
if line[0] == '#' || len(line) == 0 {
continue
} else {
fmt.Println("Passwords Not Found")
os.Exit(2)
}

fields := strings.Split(line, "-|-")
Expand Down

0 comments on commit dc9437f

Please sign in to comment.