From 92ee5ee90df9d704a053e808ab0daf01005cb4be Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 5 Oct 2011 15:11:29 +0300 Subject: Fix 'referenced before assignment' warning --- ipa-client/ipa-install/ipa-client-install | 1 + 1 file changed, 1 insertion(+) (limited to 'ipa-client') diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 70ef811ce..5f541f316 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -324,6 +324,7 @@ def uninstall(options, env, quiet=False): if ntp_configured: ntp_enabled = statestore.restore_state('ntp', 'enabled') ntp_step_tickers = statestore.restore_state('ntp', 'step-tickers') + restored = False try: # Restore might fail due to file missing in backup -- cgit