fix quoting of loggers in start-stop-daemon
previously broken in 6034866d1c
caused *_logger options to be passed unquoted, so
`error_logger="logger -t .."` would pass -t to s-s-d and fail to start
the service.
Fixes: #531
This commit is contained in:
parent
3cc4c01485
commit
14b153c1a4
@ -47,8 +47,8 @@ ssd_start()
|
||||
${directory:+--chdir} $directory \
|
||||
${output_log+--stdout} $output_log \
|
||||
${error_log+--stderr} $error_log \
|
||||
${output_logger:+--stdout-logger} "$output_logger" \
|
||||
${error_logger:+--stderr-logger} "$error_logger" \
|
||||
${output_logger:+--stdout-logger \"$output_logger\"} \
|
||||
${error_logger:+--stderr-logger \"$error_logger\"} \
|
||||
${capabilities+--capabilities} "$capabilities" \
|
||||
${secbits:+--secbits} "$secbits" \
|
||||
${no_new_privs:+--no-new-privs} \
|
||||
|
Loading…
Reference in New Issue
Block a user