X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere;h=1368a802dc6a4562f94cf986d71973a7067e6be3;hb=70cf71b1d716e2ec16fae03cd89da3f088f5f4c4;hp=e111d8e2cf5a9305d207560b02f295ff14137693;hpb=3d9b9cfba8646bb7711dae5a8d917c2acd21519a;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 <