Permalink
Browse files

Dont output tunnel killing

  • Loading branch information...
1 parent 18bc776 commit f37456b82acd2fbdbcf7f023fbf7612421fe5f06 @tomas tomas committed Oct 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/functions
View
@@ -289,7 +289,7 @@ close_reverse_tunnel(){
if [ -f "${tunnel_pidfile}" ]; then
local tunnel_pid=`cat "$tunnel_pidfile"`
log " -- Closing reverse tunnel on port ${1} with PID ${tunnel_pid}..."
- kill -9 $tunnel_pid 2> /dev/null
+ kill -9 $tunnel_pid &> /dev/null
if [ $? == 1 ]; then
log " -- Seems like the reverse tunnel was already closed!"
fi

0 comments on commit f37456b

Please sign in to comment.