Commit 898c00a6 authored by James Gilbert's avatar James Gilbert
Browse files

or needs to be || or it will never die

parent bfe79b9d
......@@ -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";
Markdown is supported
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