Add logging when socat link creation is deactivated
This commit is contained in:
parent
7679aa1a21
commit
14a8a46bec
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue