Former Trump campaign adviser Madison Gesiotto said on Friday that President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE's idea to shut down the government in order to obtain border security was not a bad one.

"I think only time will tell whether it comes down to that but, at the same time, I do think it's not the worst idea in the world," Gesiotto told Hill.TV's Krystal Ball and Buck Sexton on "Rising."

President Trump earlier this week said that he would be willing to shut the government down to secure funding for his proposed wall along the southern border.

"If we don't get border security after many, many years of talk within the United States, I would have no problem doing a shutdown," Trump said on Monday.

The president on Wednesday went on to say that a government shutdown would help Republicans ahead of November's midterm elections.

"I actually think it would be a positive," Trump said."It's like pulling teeth, getting these guys to get it done. And you have no idea how tough I've been. And I say, 'Hey, if you have a shutdown, you have a shutdown.' "

However, Republican leaders in Congress have signaled that they would like to avoid a shutdown.

“Well, I mean, obviously up here we want to keep the government up and functioning, so, you know, I'm not sure where the president is coming from,” Sen. John Thune John Randolph ThuneSenate passes resolution reaffirming commitment to peaceful transition of power Susan Collins faces political land mine with Supreme Court fight Abortion stirs GOP tensions in Supreme Court fight MORE (S.D.), the Senate's third-ranking Republican, said.