Skip to content

Commit

Permalink
return at last in encrypt/decrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcheung committed May 26, 2020
1 parent db2f999 commit b69bae8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eureka.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ func main() {
} else { // print to terminal and pause
fmt.Println(stringKey)
}

return
}

if *decrypt {
Expand Down Expand Up @@ -250,5 +252,7 @@ func main() {
}
// notification
fmt.Println("File decrypted at decrypted/\nCheers.")

return
}
}

0 comments on commit b69bae8

Please sign in to comment.