From a0747749cbc7445e0cadaf0fbf1c92a2e86d1369 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 31 Jan 2009 18:04:21 -0500 Subject: turn subcommands into subfunctions, that will need to be sourced and executed. --- src/subcommands/mh/extend-key | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/subcommands/mh/extend-key') diff --git a/src/subcommands/mh/extend-key b/src/subcommands/mh/extend-key index 755fe13..8f1ecc2 100755 --- a/src/subcommands/mh/extend-key +++ b/src/subcommands/mh/extend-key @@ -12,6 +12,8 @@ # extend the lifetime of a host key: +extend_key() { + local fpr=$(fingerprint_server_key) local extendTo="$1" @@ -27,3 +29,5 @@ EOF echo echo "NOTE: Host key expiration date adjusted, but not yet published." echo "Run '$PGRM publish-key' to publish the new expiration date." + +} -- cgit v1.2.3