summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/icli5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/icli b/bin/icli
index 58dd5f9..6ab9958 100755
--- a/bin/icli
+++ b/bin/icli
@@ -356,7 +356,10 @@ sub filter_host {
return 0;
}
- if ( $as_contact and not host_has_contact( $h, $as_contact ) ) {
+ if ( $as_contact
+ and not host_has_contact( $h, $as_contact )
+ and not $api1_root )
+ {
return 0;
}