summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c13746a0..57a14432 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -129,11 +129,11 @@ if [ ! -f $CF ]
then dead "$CF file not found"
fi
-if ! grep -q ' system {' $CF
+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\