summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 03:01:53 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 03:01:53 -0500
commite1dcdd693b854afaddb58c2049585ac9247f69a6 (patch)
treef953953e6fb9c02d21fda64727d27d18452ebaab
parente760cbe00fa9f2ddbd7c34f57958ed6af1d62c56 (diff)
parent321ff6d4c721f2f699c57874335ce792c456a19a (diff)
Merge commit 'jrollins/master'
-rw-r--r--src/share/mh/import_key2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/import_key b/src/share/mh/import_key
index cca40fa..bca7319 100644
--- a/src/share/mh/import_key
+++ b/src/share/mh/import_key
@@ -21,7 +21,7 @@ hostName="$1"
# use the default hostname if not specified
if [ -z "$hostName" ] ; then
- hostName=$(hostname -f)
+ hostName=$(hostname -f) || failure "Could not determine hostname."
# test that the domain is not obviously illegitimate
domain=${foo##*.}
case $domain in