Skip to content

Commit

Permalink
healthcheck: Fixed not using plugin dir
Browse files Browse the repository at this point in the history
  • Loading branch information
christianTF committed Oct 13, 2020
1 parent 59e8e6a commit 36f69fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/healthcheck
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if( $check_err > 0 ) {
if( $check_sum > 0 ) {
push @text, "Last notification: ***";
# Read notifications
my @notifications = get_notifications( $lbpplugindir, "Backup");
my @notifications = get_notifications( 'lbbackup', "Backup");
push @text, "ERROR:" if ( $notifications[0]->{SEVERITY} eq "3" );
push @text, "Info:" if ( $notifications[0]->{SEVERITY} eq "6" );
push @text, $notifications[0]->{CONTENTRAW};
Expand Down

0 comments on commit 36f69fb

Please sign in to comment.