mirror of https://github.com/winsw/winsw
Removing unused code
parent
c99fec03d1
commit
b86d5c13b0
3
Main.cs
3
Main.cs
|
@ -482,7 +482,6 @@ namespace winsw
|
||||||
if (args[0] == "install")
|
if (args[0] == "install")
|
||||||
{
|
{
|
||||||
if (args.Count > 1 && args[1] == "/p") {
|
if (args.Count > 1 && args[1] == "/p") {
|
||||||
bool cancel = false;
|
|
||||||
// we expected username/password on stdin
|
// we expected username/password on stdin
|
||||||
Console.Write("Username: ");
|
Console.Write("Username: ");
|
||||||
string username = Console.ReadLine ();
|
string username = Console.ReadLine ();
|
||||||
|
@ -502,7 +501,6 @@ namespace winsw
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cancel) {
|
|
||||||
svc.Create (
|
svc.Create (
|
||||||
d.Id,
|
d.Id,
|
||||||
d.Caption,
|
d.Caption,
|
||||||
|
@ -514,7 +512,6 @@ namespace winsw
|
||||||
username,
|
username,
|
||||||
password.ToString (),
|
password.ToString (),
|
||||||
d.ServiceDependencies);
|
d.ServiceDependencies);
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
svc.Create (
|
svc.Create (
|
||||||
d.Id,
|
d.Id,
|
||||||
|
|
Loading…
Reference in New Issue