Bob Mottram 7 년 전
부모
커밋
83b9a9a05f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-utils-onion 파일 보기

@@ -38,7 +38,7 @@ function add_email_hostname {
38 38
     extra_email_hostname="$1"
39 39
     email_hostnames=$(grep "dc_other_hostnames" /etc/exim4/update-exim4.conf.conf | awk -F "'" '{print $2}')
40 40
     if [[ "$email_hostnames" != *"$extra_email_hostname"* ]]; then
41
-        sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf
41
+        sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;$extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf
42 42
         update-exim4.conf
43 43
         dpkg-reconfigure --frontend noninteractive exim4-config
44 44
         systemctl restart saslauthd