Ignore permission error of /proc/version (#7267)

Merge pull request 7267
This commit is contained in:
ikeji 2018-09-25 01:29:55 +09:00 committed by jekyllbot
parent f043eeabc5
commit 0960ae0755
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ module Jekyll
@proc_version ||=
begin
Pathutil.new("/proc/version").read
rescue Errno::ENOENT
rescue Errno::ENOENT, Errno::EACCES
nil
end
end