Skip to content
Snippets Groups Projects
Commit 898c00a6 authored by James Gilbert's avatar James Gilbert
Browse files

or needs to be || or it will never die

parent bfe79b9d
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ sub new {
sub zconn {
my ($self, @arg) = @_;
($self->{zconn}) = @arg if @arg;
return $self->{zconn} or
return $self->{zconn} ||
die "Need zconn set now";
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment