Merged bug fix from Stable into Unstable

This commit is contained in:
Mark DePristo 2011-10-17 15:29:53 -04:00
commit 0de8550f17
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ class RodBindingArgumentTypeDescriptor extends ArgumentTypeDescriptor {
if ( tribbleType == null )
if ( ! file.exists() ) {
throw new UserException.CouldNotReadInputFile(file, "file does not exist");
} else if ( ! file.canRead() | ! file.isFile() ) {
} else if ( ! file.canRead() || ! file.isFile() ) {
throw new UserException.CouldNotReadInputFile(file, "file could not be read");
} else {
throw new UserException.CommandLineException(