From 27607befefc9ad6d495d8b41da0abbdc0529b036 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 25 Feb 2016 14:37:03 -0500 Subject: [PATCH] Fix a parsing bug in the beadm list function. --- src/server/library/sysadm-beadm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/library/sysadm-beadm.cpp b/src/server/library/sysadm-beadm.cpp index 330dc4a..1afc66f 100644 --- a/src/server/library/sysadm-beadm.cpp +++ b/src/server/library/sysadm-beadm.cpp @@ -32,8 +32,8 @@ QJsonObject BEADM::listBEs() { QString beActive = line.section(" ", 1, 1); QString beMount = line.section(" ", 2, 2); QString beSpace = line.section(" ", 3, 3); - QString beDate = line.section(" ", 4, 4); - QString beNick = line.section(" ", 5, 5); + QString beDate = line.section(" ", 4, 5); + QString beNick = line.section(" ", 6, 6); QJsonObject vals; vals.insert("active", beActive);