Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Fix timeout never being triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
martialblog committed Nov 23, 2022
1 parent 50de459 commit 26c1ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var (
var rootCmd = &cobra.Command{
Use: "check_microsoft365",
Short: "Icinga check plugin to check Microsoft365",
PersistentPostRun: func(cmd *cobra.Command, args []string) {
PersistentPreRun: func(cmd *cobra.Command, args []string) {
go check.HandleTimeout(Timeout)
},
Run: Help,
Expand Down

0 comments on commit 26c1ad1

Please sign in to comment.