From 3ad08e951521e78819d21e43288428fc4708de4f Mon Sep 17 00:00:00 2001 From: Tim O'Brien Date: Mon, 25 Jul 2016 11:07:34 -0700 Subject: [PATCH] Changed _stat exit code, added line return, added README link to wiki --- README.md | 1 + acme.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9492cc35..200b5f0a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Wiki: https://github.com/Neilpang/acme.sh/wiki |14|-----| Cloud Linux https://github.com/Neilpang/le/issues/111 |15|[![](https://cdn.rawgit.com/Neilpang/acmetest/master/status/openbsd.svg)](https://github.com/Neilpang/letest#here-are-the-latest-status)|OpenBSD |16|[![](https://cdn.rawgit.com/Neilpang/acmetest/master/status/mageia.svg)](https://github.com/Neilpang/letest#here-are-the-latest-status)|Mageia +|17|-----| OpenWRT: Tested and working. See [wiki page](https://github.com/Neilpang/acme.sh/wiki/How-to-run-on-OpenWRT) For all build statuses, check our [daily build project](https://github.com/Neilpang/acmetest): diff --git a/acme.sh b/acme.sh index bcd0e78f..1149aef6 100755 --- a/acme.sh +++ b/acme.sh @@ -549,7 +549,8 @@ _stat() { if stat -f '%Su:%Sg' "$1" 2>/dev/null ; then return fi - return 3; #error, 'stat' not found + + return 1; #error, 'stat' not found } #keyfile