diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-08-20 10:05:25 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-09-03 07:05:25 +0000 |
| commit | 701ac3adcb75951737d4dc09e19021ebb3a2b1f4 (patch) | |
| tree | 895c2046f4d1c3aafb19cec0f053a77419eab0da /libexec | |
| parent | 3a73c77f2d862f2754483ab26e252befc4f8f4e6 (diff) | |
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/nuageinit/nuage.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/nuageinit/nuage.lua b/libexec/nuageinit/nuage.lua index cca1fe9b4678..116ab143ccfa 100644 --- a/libexec/nuageinit/nuage.lua +++ b/libexec/nuageinit/nuage.lua @@ -188,10 +188,7 @@ local function addsshkey(homedir, key) chownak = true dirattrs = lfs.attributes(dotssh_path) if dirattrs == nil then - if not lfs.mkdir(dotssh_path) then - warnmsg("nuageinit: impossible to create ".. dotssh_path) - return - end + assert(lfs.mkdir(dotssh_path)) chowndotssh = true dirattrs = lfs.attributes(homedir) end |
