[pve-devel] applied: [PATCH pve-manager] vzdump: add error if passed in hook script doesn't exist

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 28 18:44:41 CEST 2022


On 28.04.22 16:57, Dylan Whyte wrote:
> Previously, if the '--script' argument was passed with a non-existent
> file, it would state that a non-executable script was the reason for
> failure. This adds a check to see if the hook script exists, in order
> to provide a more accurate error message.
> 
> Also adds an 'Error:' prefix the 'script not executable' error.
> 
> Signed-off-by: Dylan Whyte <d.whyte at proxmox.com>
> ---
>  PVE/VZDump.pm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list