X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere;h=1368a802dc6a4562f94cf986d71973a7067e6be3;hb=0fac6a0db5524d6b9824ef205bdd809ad762fd32;hp=e111d8e2cf5a9305d207560b02f295ff14137693;hpb=0dee9fdb0ebeebc5ff0cc10098f659d4730f2580;p=monkeysphere.git diff --git a/src/monkeysphere b/src/monkeysphere index e111d8e..1368a80 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -24,6 +24,10 @@ DATE=$(date -u '+%FT%T') # unset some environment variables that could screw things up GREP_OPTIONS= +# default return code +ERR=0 +export ERR + ######################################################################## # FUNCTIONS ######################################################################## @@ -77,7 +81,7 @@ gen_subkey(){ # set subkey defaults SUBKEY_TYPE=${SUBKEY_TYPE:-"RSA"} - #SUBKEY_LENGTH=${SUBKEY_LENGTH:-"2048"} + SUBKEY_LENGTH=${SUBKEY_LENGTH:-} SUBKEY_USAGE=${SUBKEY_USAGE:-"auth"} SUBKEY_EXPIRE=${SUBKEY_EXPIRE:-"0"} cat <