diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-30 23:27:36 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-30 23:39:34 -0500 |
commit | 2483b7de82423d6bf0dec774526a2ca9fef3d64d (patch) | |
tree | bec1f26bf3455a06fae6cac00e2c795d73358234 /src/monkeysphere-server | |
parent | 53b6ca110b9a6f17a7c7bc22e4f10d55bb6c2fb1 (diff) |
add a couple of bugs about posix compliance and the use of getopts
instead of getopt.
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-x | src/monkeysphere-server | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index a73b253..c4f6985 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -866,9 +866,9 @@ add_certifier() { # export the key to the host keyring gpg_authentication "--export 0x${fingerprint}!" | gpg_host --import - if [ "$trust" == marginal ]; then + if [ "$trust" = marginal ]; then trustval=1 - elif [ "$trust" == full ]; then + elif [ "$trust" = full ]; then trustval=2 else failure "Trust value requested ('$trust') was unclear (only 'marginal' or 'full' are supported)." |