From: Razvan Becheriu Date: Fri, 17 May 2019 18:25:19 +0000 (+0300) Subject: removed spurious \n in messages X-Git-Tag: Kea-1.6.0-beta~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ddee0a93ec4ad692cc385150c159d9e8da5232d;p=thirdparty%2Fkea.git removed spurious \n in messages --- diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in index 792ad9586d..0dd2f29ba8 100644 --- a/src/bin/keactrl/keactrl.in +++ b/src/bin/keactrl/keactrl.in @@ -154,12 +154,12 @@ send_signal() { get_pid_from_file "${proc_name}" if [ ${_pid} -eq 0 ]; then log_info "Skip sending signal ${sig} to process ${proc_name}: \ -process is not running\n" +process is not running" else kill "-${sig}" "${_pid}" retcode=$? if [ $retcode -ne 0 ]; then - log_error "Failed to send signal ${sig} to process ${proc_name}, PID {$_pid}.\n" + log_error "Failed to send signal ${sig} to process ${proc_name}, PID {$_pid}." fi fi } @@ -205,7 +205,7 @@ stop_server() { retcode=$? if [ $retcode -ne 0 ]; then log_error "Stop failed, could not send signal ${sig} \ -to process ${proc_name}, PID ${_pid}.\n" +to process ${proc_name}, PID ${_pid}." fi fi } @@ -229,7 +229,7 @@ reload_server() { retcode=$? if [ $retcode -ne 0 ]; then log_error "Reload failed, could not send signal ${sig} \ -to process ${proc_name}, PID ${_pid}.\n" +to process ${proc_name}, PID ${_pid}." fi fi }