We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4a5e7 commit 76ec477Copy full SHA for 76ec477
src/node.cc
@@ -1256,8 +1256,8 @@ int LoadSnapshotDataAndRun(const SnapshotData** snapshot_data_ptr,
1256
std::unique_ptr<SnapshotData> read_data = std::make_unique<SnapshotData>();
1257
if (!SnapshotData::FromBlob(read_data.get(), fp)) {
1258
// If we fail to read the customized snapshot, simply exit with 1.
1259
- result->exit_code = 1;
1260
- return result->exit_code;
+ exit_code = 1;
+ return exit_code;
1261
}
1262
*snapshot_data_ptr = read_data.release();
1263
fclose(fp);
0 commit comments