summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-29 20:47:50 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-29 20:47:50 (EDT)
commit6a7ef9cccd26481afa1e5ea4e03806669dec9541 (patch)
tree7d153641837fa647001c0f8cf4730aef85a478af /bin
parent4ab3536392f72ea7237e5ead44e945d12f1f4c7d (diff)
convert(): Fix undefined $output in eq
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bdf2fbcon2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index 7f50dcf..5c7a9c4 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -263,7 +263,7 @@ sub convert
my $line;
my $font;
- if ($input eq $output and $input ne '-') {
+ if ($input eq ($output or '') and $input ne '-') {
warning('Input and output files are equal');
}