Check env vars

This commit is contained in:
Mo 2023-08-13 14:47:20 +02:00
parent 8232a5c4e9
commit b111378a4d

View file

@ -1,5 +1,10 @@
#!/usr/bin/env fish
if test -z "$STUDENT_USER_PASSWORD" || test -z "$TTYD_USER" || test -z "$TTYD_PASSWORD"
echo "Missing environment variables!"
return 1
end
# Clean up
podman rmi -i ttyd
buildah rm builder &>/dev/null