From e4ed9e5b91980ada5abb223f7db37db66481acef Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Sat, 28 Dec 2019 16:46:08 +0000 Subject: [PATCH] Fix typo Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- README.md | 6 +++--- cmd/install.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4a45ab5..57b812f 100644 --- a/README.md +++ b/README.md @@ -86,17 +86,17 @@ go build ```sh # For x86_64 -sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.2/faasd" \ +sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.4/faasd" \ -o "/usr/local/bin/faasd" \ && sudo chmod a+x "/usr/local/bin/faasd" # armhf -sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.2/faasd-armhf" \ +sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.4/faasd-armhf" \ -o "/usr/local/bin/faasd" \ && sudo chmod a+x "/usr/local/bin/faasd" # arm64 -sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.2/faasd-arm64" \ +sudo curl -fSLs "https://github.com/alexellis/faasd/releases/download/0.2.4/faasd-arm64" \ -o "/usr/local/bin/faasd" \ && sudo chmod a+x "/usr/local/bin/faasd" ``` diff --git a/cmd/install.go b/cmd/install.go index 62b812b..9f18c58 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -23,7 +23,7 @@ func runInstall(_ *cobra.Command, _ []string) error { return err } - err := binExists("/usr/local/bin/", "faasd") + err = binExists("/usr/local/bin/", "faasd") if err != nil { return err }