From 0d4b50c1e621fd7e90ebb9ecf66c805d3be3408c Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Sun, 22 Jan 2017 20:59:19 +0200 Subject: [PATCH] Update refresh.exp --- refresh.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refresh.exp b/refresh.exp index 78babc3..1fe3539 100755 --- a/refresh.exp +++ b/refresh.exp @@ -1,7 +1,7 @@ #!/usr/bin/expect # This script will send the refresh command to a specified Mebe instance -# The name of the instance (given with --sname ) should be given as the first argument +# The name of the instance (given with --name ) should be given as the first argument # The second argument should be the local hostname of the node running Mebe # You need the expect program to use this script @@ -9,7 +9,7 @@ set timeout 10 set name [lindex $argv 0] set node [lindex $argv 1] -spawn iex --sname meberefresher +spawn iex --name meberefresher expect "iex\(" { send "" } expect -- " -->" { send "r '$name@$node' 'Elixir.IEx'\n" }