lib: rename privileged -> rootScript

The naming is now analogous the related function `script`.
This commit is contained in:
Erik Arvstedt
2021-08-15 11:28:34 +02:00
parent 1c3735b600
commit c758d68ea4
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ in {
done
'')
# Setting macaroon permission for other users needs root permissions
(nbLib.privileged "lnd-create-macaroons" ''
(nbLib.rootScript "lnd-create-macaroons" ''
umask ug=r,o=
${lib.concatMapStrings (macaroon: ''
echo "Create custom macaroon ${macaroon}"