[pve-devel] applied: [PATCH container] pct: improve error message output of die

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Apr 4 16:13:57 CEST 2017


applied

On Wed, Mar 22, 2017 at 10:11:13AM +0100, Thomas Lamprecht wrote:
> ---
>  src/PVE/CLI/pct.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm
> index 53d110c..4b92280 100755
> --- a/src/PVE/CLI/pct.pm
> +++ b/src/PVE/CLI/pct.pm
> @@ -605,7 +605,7 @@ __PACKAGE__->register_method({
>  
>  	my $code = sub {
>  	    my $running = PVE::LXC::check_running($vmid);
> -	    die "can only push files to a running VM" if !$running;
> +	    die "can only push files to a running CT\n" if !$running;
>  
>  	    my $conf = PVE::LXC::Config->load_config($vmid);
>  	    my $unprivileged = $conf->{unprivileged};
> -- 
> 2.1.4




More information about the pve-devel mailing list