summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-10-05 15:11:29 +0300
committerMartin Kosek <mkosek@redhat.com>2011-10-05 15:04:20 +0200
commit92ee5ee90df9d704a053e808ab0daf01005cb4be (patch)
treec4103ffc03b70132a9213223bd34f0833e6482fa /ipa-client
parent12ac2bd20ac1ca810e566afa2e94a2452739040c (diff)
downloadfreeipa-92ee5ee90df9d704a053e808ab0daf01005cb4be.tar.gz
freeipa-92ee5ee90df9d704a053e808ab0daf01005cb4be.tar.xz
freeipa-92ee5ee90df9d704a053e808ab0daf01005cb4be.zip
Fix 'referenced before assignment' warning
Diffstat (limited to 'ipa-client')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install1
1 files changed, 1 insertions, 0 deletions
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