Skip to content

Commit

Permalink
Fix a bug where the post option wasn't being set to default
Browse files Browse the repository at this point in the history
  • Loading branch information
xcellerator committed Nov 14, 2017
1 parent 1dcc0c4 commit 923fe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func GetConfig() []string {
if eth_devaddr == "" {
eth_devaddr = SetDefaults("eth_devaddr")
}
if post == "" {
if (post == "" || post == "/boot/usbninja" || post == "/boot/usbninja/") {
post = SetDefaults("post")
}

Expand Down

0 comments on commit 923fe6d

Please sign in to comment.