veth_dev_create(): fix return code

The return code from veth_dev_create() is propagated all the way up to main()
and is used as vzctl exit code. Therefore we can not just use EINVAL.

Here's one of the paths:

main()
  run_action()
    start()
      vps_start()
        vps_start_custom()
          vps_setup_res()
            vps_setup_veth()
              veth_ctl()
                veth_dev_create()

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