lib/dcmgr/helpers/cli_helper.rb in wakame-vdc-dcmgr-10.12.0 vs lib/dcmgr/helpers/cli_helper.rb in wakame-vdc-dcmgr-11.06.0
- old
+ new
@@ -69,10 +69,10 @@
end
if stat.exitstatus != opts[:expect_exitcode]
raise CommandError.new("Unexpected exit code=#{stat.exitstatus} (expected=#{opts[:expect_exitcode]})", \
outbuf, errbuf)
end
- true
+ {:stdout => outbuf, :stderr => errbuf}
end
end
end
end