Use the absolute path of the restorecon binary

This commit is contained in:
adrien 2021-01-25 14:40:29 +01:00
parent 3b19be4059
commit ea3ecc4a02
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function update_bitwarden {
# set the correct permissions
chown root:bitwarden /usr/local/bin/bitwarden
chmod 750 /usr/local/bin/bitwarden
restorecon /usr/local/bin/bitwarden
/usr/sbin/restorecon /usr/local/bin/bitwarden
if systemctl start bitwarden.service
then