summaryrefslogtreecommitdiff
path: root/utils/rhrd-show
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-08-03 18:43:13 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-08-03 18:43:13 (GMT)
commitd8ca7692490de9ae1a962eb6092880fb454b5083 (patch)
treedec0b56399ef23450adcf18f2576b873f0eab03e /utils/rhrd-show
parent255b124db5f7cc4bdba108cc7c77c285f14e8913 (diff)
added remove showid from PV to rhrd-show
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;