It went for five seasons. If anything that's a good run nowadays.
It still had a good following:
Canceled TV Shows: The Complete List of Television Cancellations 2017
This is one that the fans are most pissed about. It had six seasons, 130 episodes and starred Tim Allen! What went wrong?! It was the second most-watched show in the '16-'17 season and ABC's choice to rip it off air is definitely one that has a lot of people scratching their heads (and begging for another network to save it). While Tim tweeted after he heard the news saying, “Stunned and blindsided by the network I called home for the last six years.” Some wonder if it was actually the star's off-kilter words on
Jimmy Kimmel, where he referred to being a Republican in Hollywood as similar to living in Nazi Germany, as a possible reason for ABC's decision to cut ties. ABC would have also had to pick up the production costs during their seventh season which they didn't want to do.