projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the su_monkeysphere_user function so that it does 'bash -c' instead of 'eval...
[monkeysphere.git]
/
src
/
share
/
mh
/
set_expire
diff --git
a/src/share/mh/set_expire
b/src/share/mh/set_expire
index 2389e573515505f9d6bdb66e3708680836bcbc56..b03e0d02833f84ac3bc06625bc58266f97187979 100644
(file)
--- a/
src/share/mh/set_expire
+++ b/
src/share/mh/set_expire
@@
-14,13
+14,16
@@
# They are Copyright 2008-2009, and are all released under the GPL,
# version 3 or later.
# They are Copyright 2008-2009, and are all released under the GPL,
# version 3 or later.
-set
-
expire() {
+set
_
expire() {
local extendTo
# get the new expiration date
extendTo=$(get_gpg_expiration "$1")
local extendTo
# get the new expiration date
extendTo=$(get_gpg_expiration "$1")
+log info "setting host key expiration to ${extendTo}:"
+
+log debug "executing host expire script..."
gpg_host_edit expire <<EOF
$extendTo
save
gpg_host_edit expire <<EOF
$extendTo
save