summaryrefslogtreecommitdiff
path: root/xpp/utils/zconf/Zaptel.pm
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/utils/zconf/Zaptel.pm')
-rw-r--r--xpp/utils/zconf/Zaptel.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/utils/zconf/Zaptel.pm b/xpp/utils/zconf/Zaptel.pm
index 7642b0e..3717e72 100644
--- a/xpp/utils/zconf/Zaptel.pm
+++ b/xpp/utils/zconf/Zaptel.pm
@@ -15,7 +15,7 @@ my $proc_base = "/proc/zaptel";
sub spans() {
my @spans;
- -d $proc_base or die "Missing '$proc_base'. Perhaps zaptel module isn't loaded?\n";
+ -d $proc_base or return ();
foreach my $zfile (glob "$proc_base/*") {
$zfile =~ s:$proc_base/::;
my $span = Zaptel::Span->new($zfile);