Searched hist:f9177b6c91b3827e0afac74cd8625f3c36fa0277 (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/script/ |
H A D | script.1 | diff f9177b6c91b3827e0afac74cd8625f3c36fa0277 Tue Sep 01 18:11:23 CEST 2020 Warner Losh <imp@FreeBSD.org> Have script accept and ignore -e for Linux compat
In the util-linux version of script, it will always exit with succes. Except when run with -e, in which case it will have the exit value of the child. BSD Script already uses the child's exit value for its exit value. Some config and other helper scripts depend on being able to specify -e. Accept it for compatibility since we'll already to the right thing, but otherwise we ignore it.
|
H A D | script.c | diff f9177b6c91b3827e0afac74cd8625f3c36fa0277 Tue Sep 01 18:11:23 CEST 2020 Warner Losh <imp@FreeBSD.org> Have script accept and ignore -e for Linux compat
In the util-linux version of script, it will always exit with succes. Except when run with -e, in which case it will have the exit value of the child. BSD Script already uses the child's exit value for its exit value. Some config and other helper scripts depend on being able to specify -e. Accept it for compatibility since we'll already to the right thing, but otherwise we ignore it.
|