diff options
author | John Klug <john.klug@multitech.com> | 2017-03-28 15:05:23 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-03-28 15:05:23 -0500 |
commit | a433a3a79ed48a2a4e0037ffc9b451619124ab7b (patch) | |
tree | ae32c1fda9aebede1b64e88c6e3aea6db806dcf2 | |
parent | f4f803d9bdab9aece5b101496cad97710f920246 (diff) | |
download | mlinux-a433a3a79ed48a2a4e0037ffc9b451619124ab7b.tar.gz mlinux-a433a3a79ed48a2a4e0037ffc9b451619124ab7b.tar.bz2 mlinux-a433a3a79ed48a2a4e0037ffc9b451619124ab7b.zip |
Fix syntax error deleting possible pre-existing password
-rwxr-xr-x | setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |