summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 9e6efb3..71dab11 100755
--- a/setup.sh
+++ b/setup.sh
@@ -58,7 +58,7 @@ if [ "$1" != "--update" ]; then
echo "ROOT_PASSWORD = \"$pass\"" >password.txt
echo "HASH = \"$hash\"" >>password.txt
echo "ROOT_PASSWORD_HASH = \"$hash\"" >>conf/local.conf
- sed -ri "d/ROOT_PASSWORD[[:space:]]=/" conf/local.conf || true
+ sed -ri "/ROOT_PASSWORD[[:space:]]=/d" conf/local.conf || true
echo "ROOT_PASSWORD = \"$pass\"" >>conf/local.conf
fi