summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/rhrd-show11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/rhrd-show b/utils/rhrd-show
index b7ee202..97d74d3 100755
--- a/utils/rhrd-show
+++ b/utils/rhrd-show
@@ -482,6 +482,17 @@ sub multi_remove
}
print int($result) . " rows affected\n";
+ if($result > 0) {
+ my @args = ($showid);
+ my ($ret, $log) = RHRD::utils::pv_execute_action('remove_automation_id', undef, @args);
+ if($ret) {
+ print "Error: removing showid from PV failed:";
+ print $log;
+ } else {
+ print "removed show $showid from PV\n";
+ }
+ }
+
return 0;
}