Browse Source

Changed _stat exit code, added line return, added README link to wiki

Tim O'Brien 8 years ago
parent
commit
3ad08e9515
2 changed files with 3 additions and 1 deletions
  1. 1 0
      README.md
  2. 2 1
      acme.sh

+ 1 - 0
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): 
 

+ 2 - 1
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