From 3159b57adfed3ccb3aa9d68931a501a599cea93d Mon Sep 17 00:00:00 2001
From: Chris Nehren <cnehren@omniti.com>
Date: Mon, 17 Jun 2013 14:36:31 -0400
Subject: [PATCH] Tiny cleanup

---
 lib/Core/WatchOutput.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Core/WatchOutput.pm b/lib/Core/WatchOutput.pm
index 1bc2e95..e84aa08 100644
--- a/lib/Core/WatchOutput.pm
+++ b/lib/Core/WatchOutput.pm
@@ -64,8 +64,8 @@ sub handler {
     my $command = $self->{command};
 
     my $output = run_command($command);
-    my $status = $? >> 8;
     chomp $output;
+    my $status = $? >> 8;
 
     return {
         "output" => [$self->{check_name}, "s"],
-- 
GitLab