Exit with code already returned by lock.main()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>