Skip to content

Commit

Permalink
Fix missing library
Browse files Browse the repository at this point in the history
  • Loading branch information
xcellerator committed Nov 12, 2017
1 parent 6616805 commit d378b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io/ioutil"
"strconv"
"strings"
"fmt"
)

func GetGadgets() []string {
Expand Down Expand Up @@ -172,7 +173,7 @@ func GetConfig() []string {

val := strings.TrimSpace(key_val[1])
val2 := fmt.Sprintf("/boot/usbninja/%s", val)

if FileExist(val) {
post = val
} else if FileExist(val2) {
Expand Down

0 comments on commit d378b71

Please sign in to comment.