Skip to content

Commit 091ce85

Browse files
alex-mateirbradford
authored andcommitted
main: update expand_fdtable comment
Updated the comment so it is sync with the code Signed-off-by: Alexandru Matei <alexandru.matei@uipath.com>
1 parent 133ac46 commit 091ce85

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,7 @@ fn expand_fdtable() -> Result<(), FdTableError> {
836836
};
837837

838838
// The first 3 handles are stdin, stdout, stderr. We don't want to touch
839-
// any of them. If table_size is <= 3 it means we either didn't manage to set
840-
// the soft limit to 4096 and we use the current soft limit or hard limit <= 3.
841-
// Either way there is nothing we can possibly do in this case.
839+
// any of them.
842840
if table_size <= 3 {
843841
return Ok(());
844842
}

0 commit comments

Comments
 (0)