mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
Fix a misleading comment.
This commit is contained in:
@@ -84,7 +84,7 @@ pub(crate) fn report_setpgid_error(
|
||||
}
|
||||
|
||||
/// Execute setpgid, assigning a new pgroup based on the specified policy.
|
||||
/// Return the result of setpgid.
|
||||
/// Return 0 on success, or the value of errno on failure.
|
||||
pub fn execute_setpgid(pid: libc::pid_t, pgroup: libc::pid_t, is_parent: bool) -> i32 {
|
||||
// There is a comment "Historically we have looped here to support WSL."
|
||||
// TODO: stop looping.
|
||||
|
||||
Reference in New Issue
Block a user