just show error message for invalid user

This commit is contained in:
polygon 2024-09-28 20:23:39 +02:00
parent 3ca5cd7bd7
commit 21b20b5e4b

View file

@ -16,6 +16,7 @@ elif [ "$USER" == "close" ]; then
echo "Closing door..."
PIN=27
else
echo "you shall not pass"
exit 1
fi