diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-30 22:02:33 +0000 |
commit | 53f636bbbfd5d49588c9c7a6c91be66f5be10f96 (patch) | |
tree | 55cdbf54ef0ddf492c8df5c61ae0f3841b4d2082 /knot-resolver/bin/kresd-cache-clear | |
parent | Releasing debian version 20220414-1. (diff) | |
download | open-infrastructure-service-tools-53f636bbbfd5d49588c9c7a6c91be66f5be10f96.tar.xz open-infrastructure-service-tools-53f636bbbfd5d49588c9c7a6c91be66f5be10f96.zip |
Merging upstream version 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 |