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

Commit 49a7322

Browse files
Merge pull request #10 from NETWAYS/fix/timeout
Fix timeout never being triggered
2 parents 50de459 + 26c1ad1 commit 49a7322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var (
1313
var rootCmd = &cobra.Command{
1414
Use: "check_microsoft365",
1515
Short: "Icinga check plugin to check Microsoft365",
16-
PersistentPostRun: func(cmd *cobra.Command, args []string) {
16+
PersistentPreRun: func(cmd *cobra.Command, args []string) {
1717
go check.HandleTimeout(Timeout)
1818
},
1919
Run: Help,

0 commit comments

Comments
 (0)