mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 00:17:10 +00:00
Fix entrypoint so it works correctly on init #57
This commit is contained in:
commit
812646acb9
@ -8,6 +8,9 @@ if [[ $1 == init ]]; then
|
||||
# Initialize pass
|
||||
gpg --generate-key --batch /protonmail/gpgparams
|
||||
pass init pass-key
|
||||
|
||||
# Kill the other instance as only one can be running at a time
|
||||
pkill protonmail-bridge
|
||||
|
||||
# Login
|
||||
/protonmail/proton-bridge --cli $@
|
||||
|
||||
Loading…
Reference in New Issue
Block a user