I'm writing a script to resize my backup image files for my banana pi.
I notice when I man resize2fs
, that the man page doesn't contain a section for return/exit codes. I don't think I've come across a man page that didn't have this section.
My google searching has not be helpful at all. Does anybody have any idea what the available return/exit codes are for resize2fs?
Checking the source here. It looks like the only available exit codes are ENOMEM (12)
, 1
and 0
. On a malloc()
fail, on other errors, and on success, respectively.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With