Fix bashisms found in swarm template fragments.

Partial fix for problems output by checkbashisms for file
magnum/templates/swarm/fragments/write-docker-service.sh only.

Quoted variable as recommended.

Change-Id: Iadcd3435b39ad7bd2575bbf838add1c22b04944f
Partial-Bug: #1561232
This commit is contained in:
Shawn Aten 2016-04-12 20:24:39 +00:00
parent 59a90eaeb8
commit 353d631e70
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ ExecStart=/usr/bin/docker daemon -H fd:// \\
-H tcp://0.0.0.0:2375 \\
END_SERVICE_TOP
if [ $TLS_DISABLED == 'False' ]; then
if [ "$TLS_DISABLED" = 'False' ]; then
cat >> /etc/systemd/system/docker.service << END_TLS
--tlsverify \\