X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FCLI%2Fpct.pm;h=54bd7a7bc222be376ac47912034fa2fc45686ee2;hb=e4034859fd0e3491fd1aefb4f9ef44ee585aa404;hp=33f564fd0ffb71c1a77c81808eae235ac7d4c199;hpb=015740e60515e48cea9bb1814ad60ff05c3e356b;p=pve-container.git diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm index 33f564f..54bd7a7 100755 --- a/src/PVE/CLI/pct.pm +++ b/src/PVE/CLI/pct.pm @@ -233,8 +233,7 @@ __PACKAGE__->register_method ({ defined($conf->{$device}) || die "cannot run command on non-existing mount point $device\n"; - my $mount_point = $device eq 'rootfs' ? PVE::LXC::Config->parse_ct_rootfs($conf->{$device}) : - PVE::LXC::Config->parse_ct_mountpoint($conf->{$device}); + my $mount_point = PVE::LXC::Config->parse_volume($device, $conf->{$device}); die "cannot run fsck when container is running\n" if PVE::LXC::check_running($vmid);