summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-01 22:17:43 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-01 22:17:43 (GMT)
commitd4f3887cbbfe11511c032ff79bfec3af05cb05bd (patch)
tree492cec8e88b8c5ddbffe94022b421047640c1790
parent2542ec1216b450ad13c1926f81d8f734b23d2baa (diff)
exclude specials from orphan check
-rwxr-xr-xutils/rhrd-schedules2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules
index 58843c5..50dc613 100755
--- a/utils/rhrd-schedules
+++ b/utils/rhrd-schedules
@@ -399,7 +399,7 @@ sub orphans
my ($show, $status, $errorstring) = RHRD::rddb::get_show_info($ctx, $showid);
if(!defined $show) {
print "$status: $errorstring\n";
- } else {
+ } elsif(${$show}{'TYPE'} ne 's') {
print "$showid: " . ${$show}{'TITLE'} . "\n";
}
}