aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-10-19 10:44:43 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-10-19 10:44:43 -0500
commitcad7b9d14b6a7768a4320be74e9045fab8a75ff7 (patch)
tree07ae87d4fdbec0086be6a32432ece06aac177d52 /src
parenta5543c60194c171955dd1689f606cc2cdb9ae2f7 (diff)
downloadslskd-cad7b9d14b6a7768a4320be74e9045fab8a75ff7.tar.gz
remove negation
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index cfc95013..915306c8 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -162,6 +162,10 @@ namespace slskd
/// <param name="args">Command line arguments.</param>
public static void Main(string[] args)
{
+ Console.WriteLine(AssemblyVersion.Revision);
+ Console.WriteLine(AssemblyVersion.Revision == 65534);
+ Console.WriteLine(IsCanary);
+
// populate the properties above so that we can override the default config file if needed, and to
// check if the application is being run in command mode (run task and quit).
EnvironmentVariables.Populate(prefix: EnvironmentVariablePrefix);
@@ -289,7 +293,7 @@ namespace slskd
logger.Information("Version: {Version}", Version);
- if (!IsCanary)
+ if (IsCanary)
{
logger.Warning("This is a canary build");
logger.Warning("Canary builds are considered UNSTABLE and may be completely BROKEN");
@@ -537,7 +541,7 @@ namespace slskd
│ │
│{centeredVersion}│";
- if (!IsCanary)
+ if (IsCanary)
{
banner += "\n│■■■■■■■■■■■■■■■■■■■■■■■► CANARY ◄■■■■■■■■■■■■■■■■■■■■■■■│";
}