Fix sed -i flag usage

We don't need to create any backup with e SUFFIX so let's just
remove -e flag since:
        the first non-option argument is taken as the sed
        script to interpret

Change-Id: I69d658254ebe75b07c818e8aa6fb405ff33db549
Closes-bug: #1553154
This commit is contained in:
Sergey Kulanov 2016-03-04 14:59:25 +02:00
parent c4cf64e977
commit 9f816d2a36
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ fi
if [[ "${OLD_ADMIN_INTERFACE}" != "${ADMIN_INTERFACE}" ]]; then
echo "Saving ADMIN_INTERFACE value"
sed -ie "s/^ADMIN_INTERFACE=.*/ADMIN_INTERFACE=${ADMIN_INTERFACE}/g" \
sed -i "s/^ADMIN_INTERFACE=.*/ADMIN_INTERFACE=${ADMIN_INTERFACE}/g" \
${BOOTSTRAP_NODE_CONFIG}
fi