From: Graham Knop Date: Thu, 7 Nov 2013 18:34:47 +0000 (-0500) Subject: still return $self if deactivating bad dir X-Git-Tag: v2.000_000~38 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe125a69b50e05c8850ca382c5c5959bef73f8d2;p=p5sagit%2Flocal-lib.git still return $self if deactivating bad dir --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 41a51d6..f7cb586 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -184,7 +184,7 @@ sub deactivate { if (!grep { $_ eq $path } @active_lls) { warn "Tried to deactivate inactive local::lib '$path'\n"; - return; + return $self; } my %args = (