Skip to content

Commit

Permalink
fix: logic flip in ipsw fw aea --pem
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jun 12, 2024
1 parent eb3b84a commit f523472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ipsw/cmd/fw/aea.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ var aeaCmd = &cobra.Command{
}
}
} else {
if pemFile == "" {
if pemFile != "" {
key, err = os.ReadFile(pemFile)
if err != nil {
return fmt.Errorf("failed to read pem file: %v", err)
Expand Down

0 comments on commit f523472

Please sign in to comment.