Check env vars
This commit is contained in:
parent
8232a5c4e9
commit
b111378a4d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue