Skip to content

Commit

Permalink
fix wrong index (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide authored May 18, 2023
1 parent a456077 commit c534b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/skywire-cli/commands/vpn/vvpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var startCmd = &cobra.Command{
err := pubkey.Set(pk)
if err != nil {
if len(args) > 0 {
err := pubkey.Set(args[1])
err := pubkey.Set(args[0])
if err != nil {
internal.PrintFatalError(cmd.Flags(), err)
}
Expand Down

0 comments on commit c534b7a

Please sign in to comment.