main: update expand_fdtable comment

Updated the comment so it is sync with the code

Signed-off-by: Alexandru Matei <alexandru.matei@uipath.com>
This commit is contained in:
Alexandru Matei 2024-05-28 11:49:35 +03:00 committed by Rob Bradford
parent 133ac463c2
commit 091ce85473

View File

@ -836,9 +836,7 @@ fn expand_fdtable() -> Result<(), FdTableError> {
};
// The first 3 handles are stdin, stdout, stderr. We don't want to touch
// any of them. If table_size is <= 3 it means we either didn't manage to set
// the soft limit to 4096 and we use the current soft limit or hard limit <= 3.
// Either way there is nothing we can possibly do in this case.
// any of them.
if table_size <= 3 {
return Ok(());
}