1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

Don't force users to set $CROC_PASS

This commit is contained in:
Thorben Günther 2019-12-06 14:49:45 +01:00
parent 1ae85758f0
commit 06dd3ba62f
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED
3 changed files with 10 additions and 3 deletions

6
croc-entrypoint.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
set -e
if [ -n "$CROC_PASS" ]; then
set -- --pass "$CROC_PASS" "$@"
fi
exec /croc "$@"