diff --git a/SharpShares/Program.cs b/SharpShares/Program.cs index 1cd64d5..1911bd0 100644 --- a/SharpShares/Program.cs +++ b/SharpShares/Program.cs @@ -18,7 +18,7 @@ static void Main(string[] args) bool success = Utilities.Options.PrintOptions(arguments); if (success) { - if (arguments.targets.Count > 0) + if (arguments.targets != null) { System.Console.WriteLine("[*] Target list provided"); hosts = arguments.targets;