[chronojump] Removed unneded if check



commit fffd49f3f9c0fe2260aaf09756d138569dec4361
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jul 4 20:16:13 2018 +0200

    Removed unneded if check

 src/executeProcess.cs | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/executeProcess.cs b/src/executeProcess.cs
index 4a29abac..a814ab0c 100644
--- a/src/executeProcess.cs
+++ b/src/executeProcess.cs
@@ -134,12 +134,6 @@ class ExecuteProcess
         */
        public static bool RunAtBackground(Process process, string file_name, List<string> parameters)
        {
-               if(! File.Exists(parameters[0]))
-               {
-                       LogB.Debug ("ExecuteProcess does not exist parameter: " + parameters[0]);
-                       return false;
-               }
-
                ProcessStartInfo processStartInfo = new ProcessStartInfo();
 
                processStartInfo.FileName = file_name;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]