8e98e5f15e
Is a best practice in Unix/Linux scripts to use dots instead of source command. Using dots will avoid issues with non BASH shells TrivialFix Change-Id: Ie6480a1954f853f79faffa093452715ebd9f7d90 Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
11 lines
238 B
Bash
11 lines
238 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -d "/var/log/kolla/manila" ]]; then
|
|
mkdir -p /var/log/kolla/manila
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/manila) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/manila
|
|
fi
|
|
|
|
. /usr/local/bin/kolla_manila_extend_start
|