install.sh: shfmt and shellcheck pass

This commit is contained in:
M0Rf30 2021-04-25 10:16:22 +02:00 committed by Gianluca Boiano
parent 254e497982
commit b59f6e8ef9
1 changed files with 14 additions and 15 deletions

View File

@ -8,7 +8,7 @@ if [ "$SELECTED_USER" = "" ]; then
exit 1
fi
if [ $CURRENT_UID -ne 0 ]; then
if [ "$CURRENT_UID" -ne 0 ]; then
echo "Please run using sudo!"
exit 1
fi
@ -35,4 +35,3 @@ if [ "$USE_SERVICE_CMD" = "true" ]; then
else
systemctl restart systemd-udevd.service
fi