summaryrefslogtreecommitdiff
path: root/scripts/standalone_root_pw_reset
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/standalone_root_pw_reset')
-rwxr-xr-xscripts/standalone_root_pw_reset4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index 57a14432..061db108 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -133,10 +133,10 @@ if ! grep -q 'system {' $CF
then dead "$CF file does not contain system settings"
fi
-if ! grep -q 'login {' $CF
+if ! grep -q ' login {' $CF
then
# Recreate login section of system
- sed -i -e '/ system {/a\
+ sed -i -e '/system {/a\
login {\
}' $CF
fi