diff --git a/shelldap b/shelldap index ec17ed8..e97b0d4 100755 --- a/shelldap +++ b/shelldap @@ -857,8 +857,7 @@ sub display my $use_pager = shift; unless ( $dn ) { - print "No dn provided.\n"; - return; + $dn = '.' } # support '.'