Pretty hard to imagine a foundation without a few hairline cracks, I've built dozens, and every one has at least one. If is a hairline, it's less than an eight of an inch, or so, in width. If it's clean and dry, don't worry about it too much. Hydraulic cement is cheap and easy to work with, but it is not epoxy, by any stretch. Pick up a small can of it, and a " margin trowel" and try packing the crack with the cement. If your foundation is large brick like units, typically 8" tall and 16" side, it is a "block" foundation. These are typically adequate, but not nearly as strong as a poured wall. Cracks in block are also extremely common, typically follow the mortar joints between blocks, and are typically harmless. Remember it doesn't matter if it's a stuccoed wall above grade, a block wall, or a poured concrete wall, small cracks are common and typically harmless. Big cracks, moving cracks, cracks with water or mud flowing through, severe settling issues inside the house, doors jamming, an other significant issues need to be looked at.