From 9f53f348e1c5cfc7407e84c83326a33dc427edcd Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Tue, 19 Jan 2021 15:26:05 +0100 Subject: [PATCH] fix(win) Sessions mode run manually (#2528) --- centreon-plugins/os/windows/local/mode/sessions.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon-plugins/os/windows/local/mode/sessions.pm b/centreon-plugins/os/windows/local/mode/sessions.pm index 424352f0a..c1cd326d4 100644 --- a/centreon-plugins/os/windows/local/mode/sessions.pm +++ b/centreon-plugins/os/windows/local/mode/sessions.pm @@ -176,6 +176,7 @@ sub read_qwinsta { } my $session_data = []; foreach my $line (@lines) { + $line =~ s/^>/ /; my $data = {}; for (my $pos = 0; $pos <= $#position_wrap; $pos++) { my $area;