summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-01-19 19:36:37 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-01-19 19:36:37 +0000
commitcd9923f4d781a89d66c7836d9e14172ac348ce2f (patch)
tree94df787fd8df8e83ec574447b349d66e8cff44e5
parent0c7484507851cbf204a5e2b8fb666f1506e494cb (diff)
downloadMPC-cd9923f4d781a89d66c7836d9e14172ac348ce2f.tar.gz
ChangeLogTag: Thu Jan 19 12:59:55 2006 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/Driver.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/Driver.pm b/modules/Driver.pm
index e66ec62d..dba90516 100644
--- a/modules/Driver.pm
+++ b/modules/Driver.pm
@@ -192,9 +192,10 @@ sub run {
}
## Set the global feature file
- my($global_feature_file) = (defined $options->{'gfeature_file'} ?
- $options->{'gfeature_file'} :
- $self->{'path'} . '/config/global.features');
+ my($global_feature_file) = (defined $options->{'gfeature_file'} &&
+ -r $options->{'gfeature_file'} ?
+ $options->{'gfeature_file'} :
+ $self->{'path'} . '/config/global.features');
## Set up default values
if (!defined $options->{'input'}->[0]) {