There was an error while loading. Please reload this page.
1 parent 41bc0db commit 92e28f4Copy full SHA for 92e28f4
1 file changed
src/tools/turboOCI-apply.cpp
@@ -93,6 +93,9 @@ int main(int argc, char **argv) {
93
94
photon::fs::IFile *src_file = nullptr;
95
auto tarf = open_file(input_path.c_str(), O_RDONLY, 0666);
96
+ if (ZFile::is_zfile(tarf) == 1) {
97
+ tarf = ZFile::zfile_open_ro(tarf, true, true);
98
+ }
99
DEFER(delete tarf);
100
101
if (is_gzfile(tarf)) {
0 commit comments