It's always linear. When I encounter some of these problems, I think of the shape of common organic chemicals that have a carbon-carbon triple bond, such as alkyne series hydrocarbons.
Take H-C≡C-H for example. It's a linear bond because there's no reason for the molecules to bend because of lone pair repulsion as described by the VSEPR theory. Similarly, any alkyne there is, is either linear or not in a stable configuration. Generally, at least.