From 8f86513c23505062a9cd87fa048b683f72d776d7 Mon Sep 17 00:00:00 2001 From: Andre Nathan Date: Thu, 5 Dec 2013 17:29:01 -0200 Subject: [PATCH] Fix LXC::run_command argument count --- ext/lxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/lxc.c b/ext/lxc.c index 74aa655..b1f3838 100644 --- a/ext/lxc.c +++ b/ext/lxc.c @@ -1218,7 +1218,7 @@ Init_lxc(void) //rb_define_singleton_method(LXC, "arch_to_personality", // lxc_arch_to_personality, 1); - rb_define_singleton_method(LXC, "run_command", lxc_run_command, 0); + rb_define_singleton_method(LXC, "run_command", lxc_run_command, 1); //rb_define_singleton_method(LXC, "attach_run_shell", // lxc_attach_run_shell, 0); rb_define_singleton_method(LXC, "default_config_path",