s4:selftest: Fix shellcheck errors in wintest_net.sh
[gd/samba-autobuild/.git] / source4 / selftest / win / wintest_net.sh
index 429be6cd792cff6605354dc57a1c5c6c5c369b8b..852b08742924d6a93a734f8e88fdb2cabc2216ef 100755 (executable)
@@ -54,7 +54,7 @@ for o in $bind_options; do
                for t in $net_test; do
                        test_name="$t on $transport with $o"
                        $SMBTORTURE_BIN_PATH -U $username%$password \
-                               -W $domain $transport:$server[$o] \
+                               -W $domain ${transport}:${server}[$o] \
                                $t || on_error "\n$test_name failed."
                done
        done