aboutsummaryrefslogtreecommitdiff
path: root/add-git-user
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@laboissiere.net>2022-12-11 16:09:01 +0100
committerRafael Laboissière <rafael@laboissiere.net>2022-12-11 16:14:28 +0100
commit1452b2cf83fddd3a0a26bf6a195e1ba021c62f3f (patch)
tree7c326345ec51b90648e2fc813739b526368efcac /add-git-user
parentf369d82e136a93589f1b1d6c255b10de48e48db4 (diff)
Use mktemp instead of the deprecated tempfile command
Diffstat (limited to 'add-git-user')
-rwxr-xr-xadd-git-user2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-git-user b/add-git-user
index 84660cb..2c4a60c 100755
--- a/add-git-user
+++ b/add-git-user
@@ -30,7 +30,7 @@ fi
user=$1
### Generate a temporary file with configuration for adduser
-tmp=$(tempfile)
+tmp=$(mktemp)
### Cleanup function
cleanup(){