From 1452b2cf83fddd3a0a26bf6a195e1ba021c62f3f Mon Sep 17 00:00:00 2001 From: Rafael Laboissière Date: Sun, 11 Dec 2022 16:09:01 +0100 Subject: Use mktemp instead of the deprecated tempfile command --- add-authorized-keys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add-authorized-keys') diff --git a/add-authorized-keys b/add-authorized-keys index 3eef03f..7ed753a 100755 --- a/add-authorized-keys +++ b/add-authorized-keys @@ -74,7 +74,7 @@ if [ "$(file --brief $rsaid)" != "$type" ] ; then fi ### Install the key(s) -tmp=$(tempfile) +tmp=$(mktemp) if [ "$readonly" = yes ] ; then echo -n "command=\"read-only\" " > $tmp fi -- cgit v1.2.3