[dahdi-commits] tzafrir: tools/trunk r7559 - /tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Nov 11 04:33:27 CST 2009
Author: tzafrir
Date: Wed Nov 11 04:33:24 2009
New Revision: 7559
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7559
Log:
xpp: turn in back into a 'die' in trunk to expose more bugs.
Modified:
tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
Modified: tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm?view=diff&rev=7559&r1=7558&r2=7559
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm Wed Nov 11 04:33:24 2009
@@ -114,7 +114,7 @@
sub _get_attr($) {
my $attr_file = shift;
- open(ATTR, $attr_file) or return undef;
+ open(ATTR, $attr_file) or die "Failed to read SysFS attribute $attr_file\n";
my $value = <ATTR>;
chomp $value;
return $value;
More information about the dahdi-commits
mailing list