main: locally disable a gcc warning since !672

I see no use to handle write() return codes in *this* function.
25 jobs for gcc-warning
in 42 minutes and 29 seconds and was queued for 7 seconds