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:
parent
1ae85758f0
commit
06dd3ba62f
3 changed files with 10 additions and 3 deletions
6
croc-entrypoint.sh
Executable file
6
croc-entrypoint.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
if [ -n "$CROC_PASS" ]; then
|
||||
set -- --pass "$CROC_PASS" "$@"
|
||||
fi
|
||||
exec /croc "$@"
|
Loading…
Add table
Add a link
Reference in a new issue