summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/songdb.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index 5a3f0e985c..659457d554 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -191,7 +191,8 @@ sub crc32 {
191 my $len = 32*1024; 191 my $len = 32*1024;
192 192
193 if(!$crc) { 193 if(!$crc) {
194 return 1; # fixed bad CRC when disabled! 194 return 0; # fixed bad CRC when disabled!
195 # better to set to 0 cause the rundb code will handle it better that way.
195 } 196 }
196 197
197 if(!open(FILE, "<$filename")) { 198 if(!open(FILE, "<$filename")) {