simplifying find_host_user_id function.
[monkeysphere.git] / src / share / mh / add_hostname
index 9df5eec2952adb305886fa0fa042a805075b8fac..136b6788ffbc9b700f1ea4110060c05a3f3684e1 100644 (file)
@@ -28,7 +28,7 @@ fi
 userID="ssh://${1}"
 
 # test that the desired user ID does not already exist
-find_host_userid > /dev/null && \
+find_host_userid "$userID" && \
     failure "Host userID '$userID' already exists."
 
 if [ "$PROMPT" = "true" ] ; then