aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-05-02 21:10:59 +0200
committerAngelo Naselli <anaselli@linux.it>2014-05-02 21:10:59 +0200
commit75157abe0a8adb407d79d1c7945c58850ae065ef (patch)
tree06fb4c5eb679a5c53364518a3b93666f2d6681f8 /lib/AdminPanel/Shared
parent95b4d33c5e9a6abbe29ba59ec7ae8f306ce3748c (diff)
downloadmanatools-75157abe0a8adb407d79d1c7945c58850ae065ef.tar
manatools-75157abe0a8adb407d79d1c7945c58850ae065ef.tar.gz
manatools-75157abe0a8adb407d79d1c7945c58850ae065ef.tar.bz2
manatools-75157abe0a8adb407d79d1c7945c58850ae065ef.tar.xz
manatools-75157abe0a8adb407d79d1c7945c58850ae065ef.zip
Added time tu since/until parameter
improved layout
Diffstat (limited to 'lib/AdminPanel/Shared')
-rw-r--r--lib/AdminPanel/Shared/JournalCtl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AdminPanel/Shared/JournalCtl.pm b/lib/AdminPanel/Shared/JournalCtl.pm
index f95e8d65..beec5937 100644
--- a/lib/AdminPanel/Shared/JournalCtl.pm
+++ b/lib/AdminPanel/Shared/JournalCtl.pm
@@ -114,10 +114,10 @@ sub getLog {
$params .= " -b";
}
if ($self->since ne "") {
- $params .= " --since=".$self->since;
+ $params .= " --since=".'"'.$self->since.'"';
}
if ($self->until ne "") {
- $params .= " --until=".$self->until;
+ $params .= " --until=".'"'.$self->until.'"';
}
if ($self->unit ne "") {
$params .= " --unit=".$self->unit;