diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:24 +0000 |
commit | 4b2ffced088c16fab3660444f596d14063122205 (patch) | |
tree | 34bef914328f7b6df83ddf515a645c27b667ebf0 /knot-resolver/bin/kresd-cache-clear | |
parent | Adding upstream version 20220414. (diff) | |
download | open-infrastructure-service-tools-4b2ffced088c16fab3660444f596d14063122205.tar.xz open-infrastructure-service-tools-4b2ffced088c16fab3660444f596d14063122205.zip |
Adding upstream version 20220430.upstream/20220430
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'knot-resolver/bin/kresd-cache-clear')
-rwxr-xr-x | knot-resolver/bin/kresd-cache-clear | 8 |
1 files changed, 1 insertions, 7 deletions
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 |