mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-13 20:10:04 +02:00
Fix portforward script syntax error (#44)
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ if [ "$json" == "" ]; then
|
||||
fi
|
||||
port=`echo $json | jq .port`
|
||||
port_status_folder=`dirname "${PORT_FORWARDING_STATUS_FILE}"`
|
||||
if [ ! -d "${port_status_folder}" ];
|
||||
if [ ! -d "${port_status_folder}" ]; then
|
||||
mkdir -p "${port_status_folder}"
|
||||
fi
|
||||
echo "$port" > "${PORT_FORWARDING_STATUS_FILE}"
|
||||
|
||||
Reference in New Issue
Block a user