fixed calibration file generation - error was in the error check

2 jobs for master in 1 minute and 53 seconds (queued for 1 second)
Name Stage Failure
failed
build_kinetic Test
RUN echo "deb http://packages.ros.org/ros-testing/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list
RUN for i in 1 2 3; do { apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key 'C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'; } && break || sleep 1; done

RUN sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list && apt-get update -qq && apt-get -qq install --no-install-recommends -y build-essential python-catkin-tools python-pip python-rosdep python-wstool ros-kinetic-catkin ssh-client && apt-get clean && rm -rf /var/lib/apt/lists/*
time="2020-03-09T04:47:37Z" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp: lookup docker on 192.168.1.1:53: no such host"
error during connect: Post http://docker:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&pull=1&rm=1&session=xs94f9qblcdnycwdzxxp85hiq&shmsize=0&t=industrial-ci%2Fkinetic%2Fubuntu%3Axenial&target=&ulimits=null&version=1: dial tcp: lookup docker on 192.168.1.1:53: no such host
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Function 'prepare_docker_image' returned with code '1' after 0 min 0 sec
ERROR: Job failed: exit code 1
failed
clang-format Test
$ git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci
$ .industrial_ci/gitlab.sh

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Starting function 'prepare_docker_image'
error during connect: Post http://docker:2375/v1.40/images/create?fromImage=ubuntu&tag=xenial: dial tcp: lookup docker on 192.168.1.1:53: no such host
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Function 'prepare_docker_image' returned with code '1' after 0 min 0 sec
ERROR: Job failed: exit code 1