summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Goins <mjgoins@openflows.com>2008-10-27 18:25:06 -0400
committerMatt Goins <mjgoins@openflows.com>2008-10-27 18:25:06 -0400
commita58d337b9f24e46114912fd0e21a6ecfc22759e7 (patch)
treea1c5365f29026ae470edbf74456c2f415157ebec /src
parentaf267413bbf572b3d63c26bbb64bc15d566e78c5 (diff)
parentd0c45a59abaaad797498c6ace5364497bfd0c313 (diff)
Merge commit 'dkg/master'
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server
index fb71081..6ca6a4f 100755
--- a/src/monkeysphere-server
+++ b/src/monkeysphere-server
@@ -220,7 +220,7 @@ update_users() {
# add user-controlled authorized_keys file if specified
# translate ssh-style path variables
rawAuthorizedKeys=$(translate_ssh_variables "$uname" "$RAW_AUTHORIZED_KEYS")
- if [ "$rawAuthorizedKeys" != '-' -a -s "$rawAuthorizedKeys" ] ; then
+ if [ "$rawAuthorizedKeys" -a -s "$rawAuthorizedKeys" ] ; then
# check permissions on the authorized_keys file path
if check_key_file_permissions "$uname" "$rawAuthorizedKeys" ; then
log verbose "adding raw authorized_keys file... "