在执行path命令时出错,如下:
# patch -p1 < /home/tools/nginx-1.6.2/nginx_upstream_check_module-master/check_1.5.12+.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/http/modules/ngx_http_upstream_ip_hash_module.c b/src/http/modules/ngx_http_upstream_ip_hash_module.c
|index 041883f..b1bc7d0 100644
|--- a/src/http/modules/ngx_http_upstream_ip_hash_module.c
|+++ b/src/http/modules/ngx_http_upstream_ip_hash_module.c
--------------------------
File to patch:
# patch -p1 < /home/tools/nginx-1.6.2/nginx_tcp_proxy_module/tcp.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
|index c0485c6..bfb1f5c 100644
|--- a/src/core/ngx_log.c
|+++ b/src/core/ngx_log.c
--------------------------
File to patch: