aboutsummaryrefslogtreecommitdiffstats
path: root/goruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'goruby.c')
-rw-r--r--goruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/goruby.c b/goruby.c
index 310f236011..6095fc0894 100644
--- a/goruby.c
+++ b/goruby.c
@@ -27,7 +27,7 @@ init_golf(VALUE arg)
void *
goruby_options(int argc, char **argv)
{
- static const char cmd[] = "require 'irb'\nIRB.start";
+ static const char cmd[] = "END{require 'irb';IRB.start}";
int rw[2], infd;
void *ret;