diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-11-04 21:58:57 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-11-05 09:24:02 +0100 |
commit | 4f1b1bd345ddae2f1131396824d2f1a74a542cc7 (patch) | |
tree | c00bedbdcf903fa77cdd328e4761f8a1d7cd6ef5 | |
parent | 2e96f5317a54510222f9549d428ea11f7478f625 (diff) | |
download | manatools-4f1b1bd345ddae2f1131396824d2f1a74a542cc7.tar manatools-4f1b1bd345ddae2f1131396824d2f1a74a542cc7.tar.gz manatools-4f1b1bd345ddae2f1131396824d2f1a74a542cc7.tar.bz2 manatools-4f1b1bd345ddae2f1131396824d2f1a74a542cc7.tar.xz manatools-4f1b1bd345ddae2f1131396824d2f1a74a542cc7.zip |
Fixed for perl_checker
-rw-r--r-- | lib/AdminPanel/Shared/JournalCtl.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/AdminPanel/Shared/JournalCtl.pm b/lib/AdminPanel/Shared/JournalCtl.pm index 8cee01bd..a241db74 100644 --- a/lib/AdminPanel/Shared/JournalCtl.pm +++ b/lib/AdminPanel/Shared/JournalCtl.pm @@ -112,23 +112,23 @@ 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; + $params .= " --unit=" . $self->unit; } if ($self->priority ne "") { - $params .= " --priority=".$self->priority; + $params .= " --priority=" . $self->priority; } $ENV{'PATH'} = '/usr/sbin:/usr/bin'; - my $jctl = "/usr/bin/journalctl ". $params; + my $jctl = "/usr/bin/journalctl " . $params; # TODO remove or add to log - print " Running " . $jctl ."\n"; + print " Running " . $jctl . "\n"; my @content = `$jctl`; return \@content; |