We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bde2269 commit fd4fd62Copy full SHA for fd4fd62
1 file changed
cmd/murphy/internal/scan/cmd.go
@@ -241,6 +241,9 @@ func envScanRun(cmd *cobra.Command, args []string) {
241
}
242
logger := logctx.Use(ctx).Sugar()
243
var r *model.ScanTask
244
+ if windowsPatchScanTimeout < 1 {
245
+ windowsPatchScanTimeout = 0
246
+ }
247
var windowsPatchScanTimeoutDuration = time.Duration(windowsPatchScanTimeout) * time.Second
248
if disableWindowsPatchScan {
249
windowsPatchScanTimeoutDuration = 0
0 commit comments