From 4b2ffced088c16fab3660444f596d14063122205 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 May 2022 00:02:24 +0200 Subject: Adding upstream version 20220430. Signed-off-by: Daniel Baumann --- knot-resolver/bin/kresd-cache-clear | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'knot-resolver') diff --git a/knot-resolver/bin/kresd-cache-clear b/knot-resolver/bin/kresd-cache-clear index 79e62a8..49c2462 100755 --- a/knot-resolver/bin/kresd-cache-clear +++ b/knot-resolver/bin/kresd-cache-clear @@ -21,13 +21,7 @@ set -e -HOSTS="${*}" - -if [ -z "${HOSTS}" ] -then - echo "Usage: ${0} localhost|[HOST1 HOST2 ...]" >&2 - exit 1 -fi +HOSTS="${*:-localhost}" for HOST in ${HOSTS} do -- cgit v1.2.3