forked from gitea/gitea
Add logging when socat link creation is deactivated
This commit is contained in:
parent
7679aa1a21
commit
14a8a46bec
|
@ -42,7 +42,9 @@ cleanup
|
||||||
create_volume_subfolder
|
create_volume_subfolder
|
||||||
|
|
||||||
LINK=$(echo "$SOCAT_LINK" | tr '[:upper:]' '[:lower:]')
|
LINK=$(echo "$SOCAT_LINK" | tr '[:upper:]' '[:lower:]')
|
||||||
if [ "$LINK" != "false" -a "$LINK" != "0" ]; then
|
if [ "$LINK" = "false" -o "$LINK" = "0" ]; then
|
||||||
|
echo "init:socat | Will not try to create socat links as requested" 1>&2
|
||||||
|
else
|
||||||
create_socat_links
|
create_socat_links
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue