Status: Include command error in error message when storage activation fails
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
a2a04139da
commit
4af7713268
@ -442,7 +442,7 @@ __PACKAGE__->register_method ({
|
||||
PVE::Tools::run_command([@remcmd, '/usr/sbin/pvesm', 'status',
|
||||
'--storage', $param->{storage}]);
|
||||
};
|
||||
die "can't activate storage '$param->{storage}' on node '$node'\n" if $@;
|
||||
die "can't activate storage '$param->{storage}' on node '$node': $@\n" if $@;
|
||||
|
||||
PVE::Tools::run_command([@remcmd, '/bin/mkdir', '-p', '--', PVE::Tools::shell_quote($dirname)],
|
||||
errmsg => "mkdir failed");
|
||||
|
||||
Reference in New Issue
Block a user