Fixed name length bug

- Fixed a length bug that would ocure when the socket name was not zero
terminated.
This commit is contained in:
Odin Hultgren Van Der Horst
2019-08-02 09:00:02 +02:00
committed by jiahao
parent 9418bf69d9
commit 568889bd06
3 changed files with 8 additions and 112 deletions

View File

@ -394,7 +394,7 @@ if [ "$answer" = "N" ]; then
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.13.6`
answer=`$root/util/ver-ge "$main_ver" 1.17.1`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying the linux_abstract_sockets patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-linux_abstract_sockets.patch || exit 1