Some cried with relief. Their 35-day nightmare of missing bill payments, working without paychecks, asking strangers for money and visiting food pantries was finally ending.

But many of the federal workers who have been furloughed or working for free since December were leery of the three-week deal reached on Friday to reopen the government. New worries gnawed: How long before they got paid? Would federal contractors see even a dime of back pay?

And most of all, after the longest shutdown in American history, would they and 800,000 other federal workers be back in the same mess in three weeks if President Trump and Democrats do not reach an accord on whether to fund his proposed border wall?

“This was all for nothing, basically,” said Angela Kelley, 51, a furloughed worker for the Bureau of Land Management in Milwaukee who picked up shifts as an Uber driver to earn money to buy gas and groceries as the shutdown dragged on.