summaryrefslogtreecommitdiff
path: root/utils/rhrd-show
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rhrd-show')
-rwxr-xr-xutils/rhrd-show11
1 files changed, 10 insertions, 1 deletions
diff --git a/utils/rhrd-show b/utils/rhrd-show
index 58ed014..c52d63d 100755
--- a/utils/rhrd-show
+++ b/utils/rhrd-show
@@ -291,7 +291,16 @@ sub remove
return 1;
}
if(scalar @carts == 0) {
- print "group '" . $group . "' is now empty .. you should probably remove it!\n";
+ print ">> group '" . $group . "' is now empty .. you should probably remove it!\n\n";
+ }
+
+ 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;