diff options
| author | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 16:09:01 +0100 |
|---|---|---|
| committer | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 16:14:28 +0100 |
| commit | 1452b2cf83fddd3a0a26bf6a195e1ba021c62f3f (patch) | |
| tree | 7c326345ec51b90648e2fc813739b526368efcac /add-authorized-keys | |
| parent | f369d82e136a93589f1b1d6c255b10de48e48db4 (diff) | |
Use mktemp instead of the deprecated tempfile command
Diffstat (limited to 'add-authorized-keys')
| -rwxr-xr-x | add-authorized-keys | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
