summaryrefslogtreecommitdiff
path: root/scripts/standalone_root_pw_reset
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-10-30 14:49:04 -0700
committerRick Balocca <rbalocca@vyatta.com>2008-10-30 14:49:04 -0700
commit07b1c95171167979e43e1505093442669195e540 (patch)
tree187064014c202555ead981bb5a534a29dff2ddbc /scripts/standalone_root_pw_reset
parent760b722ba1cb9d1f69e0753e13e2002611c3033e (diff)
downloadvyatta-cfg-system-07b1c95171167979e43e1505093442669195e540.tar.gz
vyatta-cfg-system-07b1c95171167979e43e1505093442669195e540.zip
Fix typo
Diffstat (limited to 'scripts/standalone_root_pw_reset')
-rwxr-xr-xscripts/standalone_root_pw_reset2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index 0750746d..b75d19df 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -27,7 +27,7 @@ CF=/opt/vyatta/etc/config/config.boot
ADMIN=vyatta
set_encrypted_password() {
sed -i \
- -e "/ user $1 {/,/}/s/encrypted-password.*\$/encrypted-password \"$2\"/" $3
+ -e "/ user $1 {/,/}/s/encrypted-password .*\$/encrypted-password \"$2\"/" $3
}
change_password() {