From c1964da1880436a20bf1a253a1a56bb7591d7bb7 Mon Sep 17 00:00:00 2001 From: Kevin Jackson Date: Sun, 18 Feb 2007 04:59:27 +0000 Subject: [PATCH] -fix error message git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@508866 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java index bbaddb497..e31eefd67 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java @@ -145,7 +145,7 @@ public class SSHExec extends SSHBase { throw new BuildException("Password or Keyfile is required."); } if (command == null && commandResource == null) { - throw new BuildException("Command or commandFile is required."); + throw new BuildException("Command or commandResource is required."); } /* called once */