Fabian Ebner ceb7b1ed09 diskmanage: get_partnum: fix check
Not replacing it with return, because the current behavior is dying:
    Can't "next" outside a loop block
and the single existing caller in pve-manager's API2/Ceph/OSD.pm does not check
the return value.

Also check for $st, which can be undefined in case a non-existing path was
provided. This also led to dying previously:
    Can't call method "mode" on an undefined value

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-04-20 18:13:18 +02:00
2021-04-12 16:14:36 +02:00
2021-04-20 18:13:18 +02:00
2021-04-12 15:43:42 +02:00
2020-07-09 15:00:38 +02:00
Description
with PMEM support!
2.3 MiB
Languages
Perl 99.3%
Makefile 0.6%