diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-02-09 21:54:58 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-02-09 21:54:58 -0500 |
commit | 3b81cd012e8224490a3836cccbd7d082a061658e (patch) | |
tree | 71fa874a6a98680388ff7a8b1a6e478390bd5b1d /src/monkeysphere-authentication | |
parent | c9a361eecab5ea18d0b868580a3d0703517ab677 (diff) | |
parent | d71cf8d24bd9357a016b1ead375a67ccd955c130 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-x | src/monkeysphere-authentication | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication index 4485bd4..6d2e72c 100755 --- a/src/monkeysphere-authentication +++ b/src/monkeysphere-authentication @@ -70,19 +70,6 @@ subcommands: EOF } -# function to run command as monkeysphere user -su_monkeysphere_user() { - # if the current user is the monkeysphere user, then just eval - # command - if [ $(id -un) = "$MONKEYSPHERE_USER" ] ; then - eval "$@" - - # otherwise su command as monkeysphere user - else - su "$MONKEYSPHERE_USER" -c "$@" - fi -} - # function to interact with the gpg core keyring gpg_core() { GNUPGHOME="$GNUPGHOME_CORE" @@ -184,7 +171,7 @@ case $COMMAND in list_certifiers "$@" ;; - 'expert'|'e') + 'expert') SUBCOMMAND="$1" shift case "$SUBCOMMAND" in |