Added setcap command.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Ubuntu 2020-07-08 15:27:45 -05:00
parent df05267583
commit e523a8b15d
2 changed files with 6 additions and 3 deletions

View file

@ -2,6 +2,7 @@
set -eufo pipefail
BRIDGE=/bin/protonmail-bridge
FIFO=/tmp/fifo
PRINT_INFO=${PRINT_INFO:-""}
#### INIT
@ -31,6 +32,7 @@ if [ -n "$PRINT_INFO" ]; then
fi
# Fake a terminal, so it does not quit because of EOF...
rm -f faketty
mkfifo faketty
cat faketty | $BRIDGE --cli
if [ ! -e "$FIFO" ]; then
mkfifo $FIFO
fi
cat $FIFO | $BRIDGE --cli