summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/kj_sync_authorized_keys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kj_sync_authorized_keys.sh b/bin/kj_sync_authorized_keys.sh
index 8db3bb2..d0dd463 100755
--- a/bin/kj_sync_authorized_keys.sh
+++ b/bin/kj_sync_authorized_keys.sh
@@ -26,7 +26,7 @@ if [[ ! -f "${authorized_keys_file}" ]]; then
fi
add_keys_to_file() {
- filename="$1"
+ local filename="$1"
awk \
"/$begin_marker/"' { exit 0 } { print }' \
${filename} > ${filename}.header