[pve-devel] how does errfunc in run_command exactly work?

Dietmar Maurer dietmar at proxmox.com
Fri May 31 09:32:02 CEST 2013


> Is it correct to fix it this way:
>     run_command($cmd, errmsg => "rbd snapshot $volname to $snap' error",
> errfunc => sub { print STDERR shift; });


looks reasonable - but you need to test that.




More information about the pve-devel mailing list