lib/marionette/setup.rb in marionette-0.0.4 vs lib/marionette/setup.rb in marionette-0.0.5
- old
+ new
@@ -85,10 +85,10 @@
exit 0
CODE
file = File.open('/etc/marionette.tcp','w')
- file.write "tcp://#{ip}:5555"
+ file.write "tcp://#{ip.strip}:5555"
file.close
file = File.open('/etc/init.d/marionette','w')
file.write script
file.close