Skip to content

Commit

Permalink
Merge pull request #663 from flammit/fix-gpg-tty
Browse files Browse the repository at this point in the history
init: fix invalid GPG_TTY variable
  • Loading branch information
tlaurion authored Jan 28, 2020
2 parents ac71f29 + 92e706b commit ceda2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initrd/init
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ "$CONFIG_LINUXBOOT" = "y" ]; then
fi

# Set GPG_TTY before calling gpg in key-init
export GPG_TTY=$(tty)
export GPG_TTY=/dev/console

/bin/key-init

Expand Down

0 comments on commit ceda2d3

Please sign in to comment.