Not necessarily. He would have just as easily been killed to tie up a loose end and eliminate a possible witness.
More likely is that when the Libyans found out that Shillary wanted to get the weapons back to sent to Syria they rebelled and tried to stop her.