您的位置:首页 > 其它

can't find file to patch at input line 3 错误原因

2017-10-30 16:49 676 查看
执行 patch < nginx-proxy.diff 命令,将文件修改应用到文件中,报告如下错误:

can’t find file to patch at input line 3

Perhaps you should have used the -p or –strip option?

原因:

目标文件没有找到。也就会如下DEMO代码第一行的文件 nginx-proxy.conf 文件没有找到,或者这里拼写错误,或者文件夹路径错误导致。

--- nginx-proxy.conf    2017-10-30 15:37:35.000000000 +0800
+++ nginx-proxy.new 2017-10-30 15:40:14.000000000 +0800
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐