fixing find_host_userid -- did this ever work?
[monkeysphere.git] / src / share / mh / add_hostname
index 9df5eec2952adb305886fa0fa042a805075b8fac..37cfd3cfae5909728d147fe96664849d2539bcd5 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" > /dev/null && \
     failure "Host userID '$userID' already exists."
 
 if [ "$PROMPT" = "true" ] ; then