mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Getting rid of systematic error message during install
This commit is contained in:
parent
a2e0c67d76
commit
55b9e75d67
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ do_pre_regen() {
|
||||||
sudo rm -f "$tmp_backup_dir_file"
|
sudo rm -f "$tmp_backup_dir_file"
|
||||||
|
|
||||||
# retrieve current and new backends
|
# retrieve current and new backends
|
||||||
curr_backend=$(grep '^database' /etc/ldap/slapd.conf | awk '{print $2}')
|
curr_backend=$(grep '^database' /etc/ldap/slapd.conf 2>/dev/null | awk '{print $2}')
|
||||||
new_backend=$(grep '^database' slapd.conf | awk '{print $2}')
|
new_backend=$(grep '^database' slapd.conf | awk '{print $2}')
|
||||||
|
|
||||||
# save current database before any conf changes
|
# save current database before any conf changes
|
||||||
|
|
Loading…
Add table
Reference in a new issue