Sauté diced bacon in a skillet until browned. Remove from skillet and set aside. To bacon fat, add the chopped onion; sauté until onion is tender. Add the salt, vinegar, pepper, and hot cooked green beans. Toss and heat through. Transfer to a serving dish and top with reserved bacon.