lib/eye/process/validate.rb in reel-eye-0.5.1 vs lib/eye/process/validate.rb in reel-eye-0.5.2
- old
+ new
@@ -10,10 +10,10 @@
# it should parse with Shellwords and not raise
spl = Shellwords.shellwords(str) * '#'
if config[:daemonize]
if spl =~ %r[sh#\-c|#&&#|;#]
- raise Error, "#{config[:name]}, start_command in daemonize not supported shell concats like '&&'"
+ raise Error, "#{config[:name]}, daemonize does not support concats like '&&' in start_command"
end
end
end
Shellwords.shellwords(config[:stop_command]) if config[:stop_command]