summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install
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:12 +0200
commitc76bbd5129c42b2fbce81e4621f160443b2dcb67 (patch)
treeac12c837e6cc16a42d16d09f54812a3c948816d9 /ipa-client/ipa-install
parentfe8aeef30773739fe7b17e3c152be5ce858ef9f6 (diff)
downloadfreeipa-c76bbd5129c42b2fbce81e4621f160443b2dcb67.tar.gz
freeipa-c76bbd5129c42b2fbce81e4621f160443b2dcb67.tar.xz
freeipa-c76bbd5129c42b2fbce81e4621f160443b2dcb67.zip
Fix 'referenced before assignment' warning
Diffstat (limited to 'ipa-client/ipa-install')
-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 985abe06d..1c28e87c2 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