add check for argument in keys-for-user
authorJameson Rollins <jrollins@finestructure.net>
Mon, 18 Oct 2010 05:34:20 +0000 (01:34 -0400)
committerJameson Rollins <jrollins@finestructure.net>
Mon, 18 Oct 2010 05:34:20 +0000 (01:34 -0400)
src/monkeysphere-authentication

index 4249d2183b6d45cb371d415836848c6d108f67ac..99b818dc0b549651399d28247ae14b4ab859cf6b 100755 (executable)
@@ -168,6 +168,7 @@ case $COMMAND in
        ;;
 
     'keys-for-user'|'k')
+       (( $# > 0 )) || failure "Must specify user."
        source "${MASHAREDIR}/setup"
        setup
        source "${MASHAREDIR}/update_users"