[anyterm] make anyterm-cmd safer

abo abo at fedoraproject.org
Sat Jun 2 10:30:18 UTC 2012


commit d40c5145200b2d202861b64174d149f533e0ba4d
Author: Alexander Boström <abo at root.snowtree.se>
Date:   Sat Jun 2 12:28:15 2012 +0200

    make anyterm-cmd safer

 anyterm-cmd |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/anyterm-cmd b/anyterm-cmd
index 6d65573..d20b6e7 100644
--- a/anyterm-cmd
+++ b/anyterm-cmd
@@ -27,7 +27,7 @@ while : ; do
 	    done >.ssh/known_hosts
 	fi
 
-	ssh "$U at localhost.localdomain" || :
+	ssh -l "$U" localhost.localdomain" || :
     else
 	echo "Bad username."
     fi


More information about the scm-commits mailing list