This commit is contained in:
garnier-quentin 2014-03-19 22:27:01 +01:00
parent dc6a993887
commit aa61ffa684
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ sub run {
$self->{output}->output_add(severity => $exit_code,
short_msg => sprintf("System uptime is: %s",
defined($self->{option_results}->{seconds}) ? floor($value / 100) . " seconds" : floor($result->{$value} / 86400 / 100) . " days" ));
defined($self->{option_results}->{seconds}) ? floor($value / 100) . " seconds" : floor($value / 86400 / 100) . " days" ));
$self->{output}->display();
$self->{output}->exit();