]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Don't set RLIMIT_FSIZE when dumping lease (#389)
authorColin McInnes <colin.mcinnes@vecima.com>
Tue, 29 Oct 2024 15:30:59 +0000 (09:30 -0600)
committerGitHub <noreply@github.com>
Tue, 29 Oct 2024 15:30:59 +0000 (15:30 +0000)
commit550c2bb5da56bd5a3c7f4073365a8a65ac6dc54c
tree25fcc6bd55071faab5d222045f2a81ba35a9e835
parent1b573da6cd90bf013dc3bea7ef64723dcbf3f9e1
Don't set RLIMIT_FSIZE when dumping lease (#389)

Check if output is a tty
If dumping lease, check stdout otherwise check stderr.

---------

Co-authored-by: Roy Marples <roy@marples.name>
src/privsep.c