Add logging when socat link creation is deactivated

This commit is contained in:
Jean-Philippe Roemer 2015-11-04 19:43:25 +00:00
parent 7679aa1a21
commit 14a8a46bec

View file

@ -42,7 +42,9 @@ cleanup
create_volume_subfolder
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
fi