move to using 'none' for the RAW_AUTHORIZED_KEY value to use for *not*
[monkeysphere.git] / src / monkeysphere-server
index 0b63e5cefb476f637642ba46ee4bec58bb6c8600..5f0cb733be2c550c77b84a58889dc6a9b33e7f3c 100755 (executable)
@@ -230,7 +230,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" ] ; then
+       if [ "$rawAuthorizedKeys" != 'none' ] ; then
            log debug "checking for raw authorized_keys..."
            if [ -s "$rawAuthorizedKeys" ] ; then
                # check permissions on the authorized_keys file path