mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-06 10:24:06 +00:00
Tools.pm: do not ignore "0" in split_list
giving split_list the string "0" would actually return an empty list instead of a list with the element "0" Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
a609b2f787
commit
0a3de87e0f
@ -640,7 +640,7 @@ sub pipe_socket_to_command {
|
||||
}
|
||||
|
||||
sub split_list {
|
||||
my $listtxt = shift || '';
|
||||
my $listtxt = shift // '';
|
||||
|
||||
return split (/\0/, $listtxt) if $listtxt =~ m/\0/;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user