parse(): return errors in a few cases

In a few cases that were ignored before, we now return a proper
error code (either ERR_INVAL or ERR_DUP). It should improve
diagnostics printed by vzctl in case something is going wrong.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed