Update shell_command_agent.rb (#1911)

Change to make path accept stored credentials.
This commit is contained in:
NonaSuomy 2017-02-26 22:27:54 -05:00 committed by Andrew Cantino
parent 3dda1ffb63
commit 70a9c27884

View file

@ -68,7 +68,7 @@ module Agents
errors.add(:base, "command must be a shell command line string or an array of command line arguments.")
end
unless File.directory?(options['path'])
unless File.directory?(interpolated['path'])
errors.add(:base, "#{options['path']} is not a real directory.")
end
end