summaryrefslogtreecommitdiff
path: root/src/share/mh/add_hostname
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/mh/add_hostname')
-rw-r--r--src/share/mh/add_hostname8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/share/mh/add_hostname b/src/share/mh/add_hostname
index b08d688..36f174d 100644
--- a/src/share/mh/add_hostname
+++ b/src/share/mh/add_hostname
@@ -43,14 +43,12 @@ else
fi
# edit-key script command to add user ID
-adduidCommand=$(cat <<EOF
-adduid
+adduidCommand="adduid
$userID
-save
-EOF
-)
+save"
+# end script
# execute edit-key script
if echo "$adduidCommand" | gpg_host_edit ; then