Browse Source

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

Prakash Ranade 8 năm trước cách đây
mục cha
commit
2abae65
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)