Fix resolv.conf delete error