After some pondering, rather use shrink+resize and also set errno to 0, otherwise it will complain many times in case of error(s).
Allow user to choose between shrink/shrink+resize options (r-flag)