Ignore permission error of /proc/version (#7267)
Merge pull request 7267
This commit is contained in:
parent
f043eeabc5
commit
0960ae0755
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue