summaryrefslogtreecommitdiff
path: root/src/share
diff options
context:
space:
mode:
Diffstat (limited to 'src/share')
-rw-r--r--src/share/mh/add_hostname2
-rw-r--r--src/share/mh/revoke_hostname3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/share/mh/add_hostname b/src/share/mh/add_hostname
index 37cfd3c..136b678 100644
--- a/src/share/mh/add_hostname
+++ b/src/share/mh/add_hostname
@@ -28,7 +28,7 @@ fi
userID="ssh://${1}"
# test that the desired user ID does not already exist
-find_host_userid "$userID" > /dev/null && \
+find_host_userid "$userID" && \
failure "Host userID '$userID' already exists."
if [ "$PROMPT" = "true" ] ; then
diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname
index b139cee..b3b8d7a 100644
--- a/src/share/mh/revoke_hostname
+++ b/src/share/mh/revoke_hostname
@@ -19,7 +19,6 @@ local userID
local fingerprint
local tmpuidMatch
local line
-local uidIndex
local message
local revuidCommand
@@ -30,7 +29,7 @@ fi
userID="ssh://${1}"
# make sure the user ID to revoke
-uidIndex=$(find_host_userid "$userID") || \
+find_host_userid "$userID" || \
failure "No non-revoked user ID found matching '$userID'."
if [ "$PROMPT" = "true" ] ; then
r--tags/d7/9f/20131028130005.0C7A9655@xayide.jones.dk/jones0
-rw-r--r--tags/d7/9f/20131028130005.0C7A9655@xayide.jones.dk/sys0
-rw-r--r--tags/d7/9f/20170930190002.208C17E96@lxp5.free-owl.de/sys0
-rw-r--r--tags/d7/9f/20170930190002.208C17E96@lxp5.free-owl.de/unread0
-rw-r--r--tags/d7/9f/20171215053516.67DB8788E@lxp5.free-owl.de/sys0
-rw-r--r--tags/d7/9f/20171215053516.67DB8788E@lxp5.free-owl.de/unread0
-rw-r--r--tags/d7/9f/20180731090002.251001CCD5E@lxp5.free-owl.de/sys0
-rw-r--r--tags/d7/9f/20180731090002.251001CCD5E@lxp5.free-owl.de/unread0
-rw-r--r--tags/d7/9f/20220730090633.ci5gyuasjhhnnp5g@crossbow/debian0
-rw-r--r--tags/d7/9f/20220730090633.ci5gyuasjhhnnp5g@crossbow/signed0
-rw-r--r--tags/d7/9f/47C9D1D5.3020106@antcom.de/debian0
-rw-r--r--tags/d7/9f/47C9D1D5.3020106@antcom.de/inbox0
-rw-r--r--tags/d7/9f/47C9D1D5.3020106@antcom.de/old0
-rw-r--r--tags/d7/9f/df462865-d9eb-f393-ed69-3a760119c4f6@mail.ru/debian0
-rw-r--r--tags/d7/9f/df462865-d9eb-f393-ed69-3a760119c4f6@mail.ru/unread0
-rw-r--r--tags/d7/9f/handler.1006093.D1006093.164632107831091.ackdone@bugs.debian.org/debian0
-rw-r--r--tags/d7/9f/handler.1006093.D1006093.164632107831091.ackdone@bugs.debian.org/inbox0
-rw-r--r--tags/d7/9f/handler.1006093.D1006093.164632107831091.ackdone@bugs.debian.org/killed0
-rw-r--r--tags/d7/9f/handler.1006093.D1006093.164632107831091.ackdone@bugs.debian.org/unread0
-rw-r--r--tags/d7/9f/rt-3.8.8-1624-1375103710-392.55208-18-0@rt.zensystems.dk/hb0
-rw-r--r--tags/d7/9f/rt-3.8.8-1624-1375103710-392.55208-18-0@rt.zensystems.dk/unread0
30 files changed, 0 insertions, 0 deletions