Skip to content

Commit

Permalink
Include return code in logsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed May 28, 2017
1 parent 6d0d0aa commit e5ca89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Virtualmin/Config/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ sub logsystem {
my $cmd = shift;

my $res = `$cmd`;
$log->info($res);
$log->info("Code: $? Result: $res");
return $?;
}

Expand Down

0 comments on commit e5ca89a

Please sign in to comment.