X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=data%2FPVE%2FINotify.pm;h=abc8aeb6777ebaa97be3239c40dd00425e3a5594;hp=0ee899764b9d9adf10ea8afecdffe399464643ac;hb=75ed54f1291dfaa01a097c78dc0b25454e83851f;hpb=e143e9d86b489c57166b5c192bf41dcc3452471e diff --git a/data/PVE/INotify.pm b/data/PVE/INotify.pm index 0ee8997..abc8aeb 100644 --- a/data/PVE/INotify.pm +++ b/data/PVE/INotify.pm @@ -616,7 +616,7 @@ sub read_active_workers { my $res = []; while (defined (my $line = <$fh>)) { - if ($line =~ m/^(\S+)\s(0|1)(\s([0-9A-Za-z]{8})(\s(\S.*))?)?$/) { + if ($line =~ m/^(\S+)\s(0|1)(\s([0-9A-Za-z]{8})(\s(\s*\S.*))?)?$/) { my $upid = $1; my $saved = $2; my $endtime = $4;