Before actually doing something the user should always confirm the update. Move the question out of the if() block. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>