From 0b161b76dac289f4b7100916bac27961aed88120 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 19 Jul 2021 13:24:53 +0200 Subject: make config variables readonly --- update-openssh-known-hosts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'update-openssh-known-hosts') 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 -- cgit v1.2.3