diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-08-03 18:43:13 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-08-03 18:43:13 (GMT) |
commit | d8ca7692490de9ae1a962eb6092880fb454b5083 (patch) | |
tree | dec0b56399ef23450adcf18f2576b873f0eab03e /utils | |
parent | 255b124db5f7cc4bdba108cc7c77c285f14e8913 (diff) |
added remove showid from PV to rhrd-show
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/rhrd-show | 11 |
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; |