Update installer.sh
This commit is contained in:
parent
af0ecaf9e7
commit
a23d6801ae
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ reset="\e[0m"
|
|||
# Check of het script als de juiste gebruiker draait.
|
||||
echo -e "${green}GrovePi installatiescript gestart...${reset}"
|
||||
|
||||
if [[ "$USER" != "pi" || "$(id -u)" -ne 1000 ]]; then
|
||||
if [[ "$USER" != "pi" ]]; then
|
||||
echo -e "${red}Dit script mag alleen worden uitgevoerd door gebruiker 'pi' met UID 1000."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue