diff options
-rwxr-xr-x | tool/extlibs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/extlibs.rb b/tool/extlibs.rb index a840724794..94917a95a0 100755 --- a/tool/extlibs.rb +++ b/tool/extlibs.rb @@ -65,7 +65,7 @@ class ExtLibs when '.zip' pid = Process.spawn("unzip", inp, "-d", dir) end - f.close if f + f&.close Process.wait(pid) $?.success? or raise "failed to extract #{cache}" end |