just show error message for invalid user
This commit is contained in:
parent
3ca5cd7bd7
commit
21b20b5e4b
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ elif [ "$USER" == "close" ]; then
|
|||
echo "Closing door..."
|
||||
PIN=27
|
||||
else
|
||||
echo "you shall not pass"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue