summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/start-smb-silvershell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/start-smb-silvershell.sh')
-rwxr-xr-xapps/files_external/tests/env/start-smb-silvershell.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/start-smb-silvershell.sh b/apps/files_external/tests/env/start-smb-silvershell.sh
index c45807cc4c8..41ba3b11a70 100755
--- a/apps/files_external/tests/env/start-smb-silvershell.sh
+++ b/apps/files_external/tests/env/start-smb-silvershell.sh
@@ -31,7 +31,7 @@ fi;
container=`docker run -d -e SMB_USER=test -e SMB_PWD=test silvershell/samba`
-host=`docker inspect $container | grep IPAddress | cut -d '"' -f 4`
+host=`docker inspect --format="{{.NetworkSettings.IPAddress}}" $container`
cat > $thisFolder/config.smb.php <<DELIM
<?php