summaryrefslogtreecommitdiff
path: root/utils/rhrd-show
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-03 17:27:25 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-03 17:27:25 (GMT)
commit4c180691b640ae416239f1bcd375ea513cf5d50b (patch)
tree8a11716b78358e5bdb976db99293f91f30dd0690 /utils/rhrd-show
parentcb42bb3574fab1e761c6562c60ee3b5e3c8af09d (diff)
some cleanup
Diffstat (limited to 'utils/rhrd-show')
-rwxr-xr-xutils/rhrd-show8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/rhrd-show b/utils/rhrd-show
index daa3060..88f29ce 100755
--- a/utils/rhrd-show
+++ b/utils/rhrd-show
@@ -89,7 +89,7 @@ sub show
return 1;
}
my ($show, $status, $errorstring) = RHRD::rddb::get_show_info($ctx, $showid);
- unless (defined $show) {
+ unless(defined $show) {
print STDERR "$errorstring\n";
return 1;
}
@@ -418,7 +418,7 @@ sub multi_add
print " * creating multi-show: " . $title . "\n";
my $showref = multi__parse_shows($ctx, @_);
- unless(defined($showref)) {
+ unless(defined $showref) {
return 1;
}
my %shows = %{$showref};
@@ -450,7 +450,7 @@ sub multi_edit
print " * updating multi-show: " . $showid . "\n";
my $showref = multi__parse_shows($ctx, @_);
- unless(defined($showref)) {
+ unless(defined $showref) {
return 1;
}
my %shows = %{$showref};
@@ -470,7 +470,7 @@ sub multi_show
my ($ctx, $showid) = @_;
my ($show, $status, $errorstring) = RHRD::rddb::get_multi_show_info($ctx, $showid);
- unless (defined $show) {
+ unless(defined $show) {
print STDERR "$errorstring\n";
return 1;
}