projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'mlcastle/master'
[monkeysphere.git]
/
src
/
monkeysphere
diff --git
a/src/monkeysphere
b/src/monkeysphere
index a433701a1c6fb4da462e9b29bdd6bae6e4d644db..58f0fdc632edaeb8f7aa679b24dbfa6e6c81809c 100755
(executable)
--- a/
src/monkeysphere
+++ b/
src/monkeysphere
@@
-140,12
+140,9
@@
case $COMMAND in
# if hosts are specified on the command line, process just
# those hosts
if [ "$1" ] ; then
# if hosts are specified on the command line, process just
# those hosts
if [ "$1" ] ; then
- for host ; do
- process_host_known_hosts "$host"
- done
- log "known_hosts file updated."
+ process_hosts_known_hosts "$@"
- # otherwise, if no hosts are specified, process every
user
+ # otherwise, if no hosts are specified, process every
host
# in the user's known_hosts file
else
if [ ! -s "$KNOWN_HOSTS" ] ; then
# in the user's known_hosts file
else
if [ ! -s "$KNOWN_HOSTS" ] ; then
@@
-153,8
+150,9
@@
case $COMMAND in
fi
log "processing known_hosts file..."
process_known_hosts
fi
log "processing known_hosts file..."
process_known_hosts
- log "known_hosts file updated."
fi
fi
+
+ log "known_hosts file updated."
;;
'update-authorized_keys'|'update-authorized-keys'|'a')
;;
'update-authorized_keys'|'update-authorized-keys'|'a')