Skip to content

Commit

Permalink
Update 91-universal_graphic_drivers.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 26, 2023
1 parent c8a0512 commit 4fadf80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .templates/91-universal_graphic_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if bashio::config.has_value "graphic_driver"; then
# Origin : https://github.com/wumingjieno1/photoprism-test/blob/main/scripts/dist/install-gpu.sh
# abort if not executed as root
if [[ $(id -u) != "0" ]]; then
# shellcheck disable=SC2128
bashio::log.fatal "Error: Run $(basename "${BASH_SOURCE}") as root" 1>&2
exit 1
fi
Expand Down

0 comments on commit 4fadf80

Please sign in to comment.