diff options
Diffstat (limited to 'utils/rhrd-show')
-rwxr-xr-x | utils/rhrd-show | 8 |
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; } |