From 521dd4f062ddbcffcfa7a8ef68966059ffbefc4c Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 31 May 2021 10:18:41 -0700 Subject: FILE:HOST-SECRET-UPLOADED: avoid using a pathname as IDEN2 Signed-off-by: Sean Whitton --- src/property/file.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/property/file.lisp b/src/property/file.lisp index 1bfda29..4af2e27 100644 --- a/src/property/file.lisp +++ b/src/property/file.lisp @@ -98,7 +98,8 @@ CONTENT can be a list of lines or a single string." (containing-directory-exists destination) (maybe-writefile-data destination iden1 iden2 :mode #o600))) -(defprop host-secret-uploaded :posix (destination) +(defprop host-secret-uploaded :posix + (destination &aux (destination (unix-namestring destination))) (:hostattrs (require-data (get-hostname) destination)) (:apply -- cgit v1.2.3