Skip to content

Commit d7253b8

Browse files
src: update comment
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 7359cfc commit d7253b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ ExitCode LoadSnapshotDataAndRun(const SnapshotData** snapshot_data_ptr,
11621162
}
11631163
std::unique_ptr<SnapshotData> read_data = std::make_unique<SnapshotData>();
11641164
if (!SnapshotData::FromBlob(read_data.get(), fp)) {
1165-
// If we fail to read the customized snapshot, simply exit with 1.
1165+
// If we fail to read the customized snapshot, simply exit with kStartupSnapshotFailure.
11661166
exit_code = ExitCode::kStartupSnapshotFailure;
11671167
return exit_code;
11681168
}

0 commit comments

Comments
 (0)