Hi ALL,

Hope you are well.

【Regarding /etc/rc.d/init.d/spamd】on CentOS-7.2.1511

When I start the spamd as below.
# /etc/rc.d/init.d/spamd start

Happen
./spamd: line 20: [: =: unary operator expected
./spamd: line 20: [: =: unary operator expected
Stopping spamd:                                            [  OK  ]
./spamd: line 20: [: =: unary operator expected
Starting spamd:                                            [  OK  ]

So, I have changed line 20 of /etc/rc.d/init.d/spamd as below.
# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0

# Check that networking is up.
+[ "${NETWORKING}" = "no" ] && exit 0

# ./spamd restart
Stopping spamd:                                            [  OK  ]
Starting spamd:                                            [  OK  ]

It has solved.

Kind regards,
Nori

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Telecommunications Association License No. A-18-9191
Government Resell  License No. 301039703002
              WATS CO.,LTD.   
  Kawana Bldg, 5F  Kamata
Ota-ku Tokyo, 144-0052 JAPAN
       Phone 81-50-5830-5940 
       Ext&Mobile:201 VoiceMailDirect:201*1
       FAX   81-50-5830-5941
            http://wats.gr.jp
          Mail: wats @ wats.gr.jp
Please remove the space between @ as double side

Key fingerprint = B53D FF2F BFEA FDA8 1439  38AA 8281 9A3E C9B6 2FC9

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to