ifconfig: fix for an unitialized error return code