summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-10-18 01:34:20 -0400
committerJameson Rollins <jrollins@finestructure.net>2010-10-18 01:34:20 -0400
commit254fec88ee3a800a77126f040e1b99841d0cbc08 (patch)
treecb880fb9242f11076f39e504632c7b70af00c21d /src/monkeysphere-authentication
parent04e5bfbca3e81744b1858823c6d6653274e78ccb (diff)
add check for argument in keys-for-user
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index 4249d21..99b818d 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -168,6 +168,7 @@ case $COMMAND in
;;
'keys-for-user'|'k')
+ (( $# > 0 )) || failure "Must specify user."
source "${MASHAREDIR}/setup"
setup
source "${MASHAREDIR}/update_users"