Skip to content

Commit b7e91fa

Browse files
authored
Merge pull request #434 from phaer/no-sudo-extra-files
Don't use sudo when uploading extraFiles
2 parents 9ba099b + 685bbb2 commit b7e91fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ nixosInstall() {
577577

578578
if [[ -n ${extraFiles} ]]; then
579579
step Copying extra files
580-
tar -C "$extraFiles" -cpf- . | runSsh "${maybeSudo} tar -C /mnt -xf- --no-same-owner"
580+
tar -C "$extraFiles" -cpf- . | runSsh "tar -C /mnt -xf- --no-same-owner"
581581
runSsh "chmod 755 /mnt" # tar also changes permissions of /mnt
582582
fi
583583

0 commit comments

Comments
 (0)