Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/clovershell-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCluster <Cluster>2017-03-27 21:19:02 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-27 21:21:01 +0300
commit6a7183dbf5b32d47bbe1e2465838199746fa2a52 (patch)
tree550537f12703ed3de3f6c7798463dc2cfa167ee1
parent92b21d8c46c84a853874639bb612c8cebd919894 (diff)
Minor fixes
-rw-r--r--Program.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 72782a3..e83087d 100644
--- a/Program.cs
+++ b/Program.cs
@@ -33,6 +33,9 @@ namespace com.clusterrr.clovershell
ShowHelp();
Environment.Exit(-1);
}
+
+ if (Process.GetProcessesByName("hakchi").Count() > 0) throw new Exception("Please close hakchi2 first");
+
var command = args[0].ToLower();
nes.Connect();
var ping = nes.Ping();