This commit is contained in:
Andre Nathan 2013-12-06 09:36:51 -02:00
parent a4fc5df066
commit 5c1d459b67

View file

@ -1160,7 +1160,7 @@ lxc_run_command(VALUE self, VALUE rb_command)
lxc_attach_command_t cmd;
VALUE rb_program;
rb_program = rb_ary_shift(rb_command);
rb_program = rb_ary_entry(rb_command, 0);
cmd.program = StringValuePtr(rb_program);
cmd.argv = ruby_to_c_string_array(rb_command);