lib/remote_syslog/cli.rb in remote_syslog-1.6.6 vs lib/remote_syslog/cli.rb in remote_syslog-1.6.6.1

- old
+ new

@@ -170,10 +170,10 @@ @agent.files = @files if @pid_directory if @agent.pid_file - @agent.pid_file = File.expand_path("#{@pid_directory}/#{@agent.pid_file}") + @agent.pid_file = File.expand_path("#{@pid_directory}/#{File.basename(@agent.pid_file)}") else @agent.pid_file = File.expand_path("#{@pid_directory}/remote_syslog.pid") end end