Skip to content

Commit

Permalink
letsencrypt: fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Oct 25, 2017
1 parent 81e8066 commit d958f0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/nextcloudpi-config.d/letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ configure()

# delayed in bg so it does not kill the connection, and we get AJAX response
bash -c "sleep 2 && systemctl restart apache2" &>/dev/null &
rm -rf $NCDIR/.well-known
return 0
}
rm -rf $NCDIR/.well-known
return 1
}

# License
Expand Down

0 comments on commit d958f0e

Please sign in to comment.