Browse Source

[HUE-6636] Fix exit status for the ldaptest command when no LDAP parameters are given

Prakash Ranade 8 years ago
parent
commit
2abae65cea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/management/commands/ldaptest.py

+ 1 - 1
desktop/core/src/desktop/management/commands/ldaptest.py

@@ -509,4 +509,4 @@ class Command(NoArgsCommand):
         LOG.info('Now test further by providing test ldap user in CM')
         LOG.info('test_ldap_user=someusername')
 
-    self.sys_exit(0)
+    self.sys_exit(err_code)