projects
/
pve-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix regex for active worker file
[pve-common.git]
/
data
/
PVE
/
INotify.pm
diff --git
a/data/PVE/INotify.pm
b/data/PVE/INotify.pm
index 0ee899764b9d9adf10ea8afecdffe399464643ac..abc8aeb6777ebaa97be3239c40dd00425e3a5594 100644
(file)
--- 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;