diff --git a/Library/Homebrew/extend/os/mac/caveats.rb b/Library/Homebrew/extend/os/mac/caveats.rb index 6f9bc6639c..c0b8420586 100644 --- a/Library/Homebrew/extend/os/mac/caveats.rb +++ b/Library/Homebrew/extend/os/mac/caveats.rb @@ -37,7 +37,7 @@ class Caveats if f.plist_manual || f.service? command = if f.service? - f.service.command.join(" ") + f.service.command.map{ |arg| "'#{arg}'" }.join(" ") else f.plist_manual end