Permalink
Browse files

tpope-host: Clean up old variable references

  • Loading branch information...
1 parent ea6d939 commit f0f9ebd6d20e532db90d06aad24758d8b59c5f72 @tpope committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/tpope-host
View
@@ -104,7 +104,7 @@ exec_nc() {
case `basename "$0"` in
?)
[ -n "$STY" ] && SCREEN="screen -ln"
- exec $SCREEN ssh `gethost $hostinfo` "$@"
+ exec $SCREEN ssh `gethost $0` "$@"
;;
esac
@@ -222,6 +222,6 @@ case "$1" in
;;
*)
- echo Warning: invalid command "$hostinfo" ;;
+ echo Warning: invalid command "$1" ;;
esac

0 comments on commit f0f9ebd

Please sign in to comment.