@@ -1902,7 +1902,6 @@ exit
19021902fi
19031903echo " session required pam_unix.so" | sudo tee -a /etc/pam.d/common-session
19041904fi_auth_yum
1905- exit
19061905}
19071906
19081907# ############################## Raspberry Pi ###################################
@@ -1949,8 +1948,7 @@ entry_cache_timeout = 600
19491948#entry_cache_group_timeout = 5400
19501949#cache_credentials = TRUE
19511950entry_cache_nowait_percentage = 75" | sudo tee -a /etc/sssd/sssd.conf
1952- sudo service sssd restart
1953- exit
1951+ sudo service sssd restart && exit 0
19541952}
19551953
19561954# ############################## Fedora #########################################
@@ -2016,7 +2014,6 @@ echo "AD join failed.please check your errors with journalctl -xe"
20162014exit
20172015fi
20182016fi_auth_yum
2019- exit
20202017}
20212018
20222019# ############################ Elemntary #####################################
@@ -2085,7 +2082,6 @@ else
20852082sudo echo " greeter-show-manual-login=true" | sudo tee -a /usr/share/lightdm/lightdm.conf.d/40-io.elementary.greeter.conf
20862083fi
20872084fi_auth
2088- exit
20892085}
20902086
20912087# ############################ Linux Mint #####################################
@@ -2155,7 +2151,6 @@ else
21552151sudo echo " greeter-show-manual-login=true" | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
21562152fi
21572153fi_auth
2158- exit
21592154}
21602155
21612156# ############################## Update to Realmd from likewise ##################
@@ -2164,7 +2159,7 @@ clear
21642159echo " "
21652160echo " this section has been deprecated, If you are still using likewise please see code"
21662161echo " leave likewise with sudo domainjoin-cli leave"
2167- exit
2162+ exit 0
21682163}
21692164
21702165# ############################## Fail check ####################################
22962291fi
22972292echo " "
22982293echo " -------------------------------------------------------------------------------------"
2299- exit
2294+ exit 0
23002295}
23012296
23022297# ################################### ldapsearch #####################################################
0 commit comments