Skip to content

Commit

Permalink
Fixed default wait time for exec
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayyhem committed Nov 7, 2023
1 parent 5d4bdcd commit bd42a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void Main(string[] args)
ManagementScope wmiConnection = MgmtUtil.NewWmiConnection(smsProvider, null, siteCode);
if (wmiConnection != null && wmiConnection.IsConnected)
{
SmsProviderWmi.Exec(wmiConnection, collectionId, collectionName, device, path, relayServer, resourceId, !runAsSystem, collectionType, user, waitTime);
SmsProviderWmi.Exec(wmiConnection, collectionId, collectionName, device, path, relayServer, resourceId, !runAsSystem, collectionType, user, waitTime = 120);
}
}
});
Expand Down

0 comments on commit bd42a0f

Please sign in to comment.