Address shellcheck warnings

This commit is contained in:
Cyb3r-Jak3 2024-09-09 17:45:48 -04:00
parent e471edd93a
commit 3f762da1e6
No known key found for this signature in database
11 changed files with 68 additions and 34 deletions

View file

@ -16,7 +16,7 @@ if [[ $1 == init ]]; then
pkill protonmail-bridge || true
# Login
/protonmail/proton-bridge --cli $@
"/protonmail/proton-bridge" --cli "$@"
else
@ -30,6 +30,6 @@ else
# Fake a terminal, so it does not quit because of EOF...
rm -f faketty
mkfifo faketty
cat faketty | /protonmail/proton-bridge --cli $@
cat faketty | /protonmail/proton-bridge --cli "$@"
fi