Hey,

Insufficient for the daemon_flags=-n case. To be completely safe, use printf:

daemon_flags=$(printf '%s\n' "${daemon_flags}" | tr -s "[:space:]")

It's indeed better / safer solution, thanks!

Best regards,
Piotr Sikora < [email protected] >

Reply via email to