summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2021-07-19 13:24:53 +0200
committerTimo Weingärtner <timo@tiwe.de>2021-07-19 13:24:53 +0200
commit0b161b76dac289f4b7100916bac27961aed88120 (patch)
treeac7885a7e5ced2a36579998703514cfc510abf3c
parent4a715d24969a351ddd255fccee9dfd7e726d2555 (diff)
downloadopenssh-known-hosts-0b161b76dac289f4b7100916bac27961aed88120.tar.gz
make config variables readonly
-rwxr-xr-xupdate-openssh-known-hosts2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-openssh-known-hosts b/update-openssh-known-hosts
index 6d72663..ef897aa 100755
--- a/update-openssh-known-hosts
+++ b/update-openssh-known-hosts
@@ -25,6 +25,8 @@ CACHEDIR=${CACHEDIR:-/var/cache/openssh-known-hosts}
LOCK=${LOCK:-/var/lock/openssh-known-hosts}
OUTFILE=${OUTFILE:-/var/lib/openssh-known-hosts/ssh_known_hosts}
+readonly CONFDIR PLUGIN_PATH CACHEDIR LOCK OUTFILE
+
path_search () {
search="$1"
shift