diff options
| author | Martin André <m.andre@redhat.com> | 2016-02-09 14:07:53 +0900 |
|---|---|---|
| committer | Martin André <m.andre@redhat.com> | 2016-02-10 08:25:23 +0900 |
| commit | e6571c02039ec628a6511ec932fc371711ef20dd (patch) | |
| tree | a65e18895991213fb49cad8c59f73a50d9b1a27c /docker/dind | |
| parent | 815f040ee8c9000f6d6e66036d5f7379d3f1fcf2 (diff) | |
| download | kolla-e6571c02039ec628a6511ec932fc371711ef20dd.tar.gz kolla-e6571c02039ec628a6511ec932fc371711ef20dd.zip | |
Safely create directories
This prevents failure when the directory already exists.
This commit fixes a failure in centos-binary because of a change in the
RDO packaging, where the required directory is now created for us.
Change-Id: Idd3e15802c3e3fd363e1295111ec12948d566781
Closes-Bug: #1543417
Diffstat (limited to 'docker/dind')
| -rw-r--r-- | docker/dind/start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/dind/start.sh b/docker/dind/start.sh index 56e733409..8d861f744 100644 --- a/docker/dind/start.sh +++ b/docker/dind/start.sh @@ -11,7 +11,7 @@ done docker daemon -s btrfs 2>&1 > docker.log & docker_pid=$! -mkdir /var/run/sshd +mkdir -p /var/run/sshd /usr/sbin/sshd -D 2>&1 > sshd.log & sshd_pid=$! |
