From 736701cab7df08d8341e96e1d5eaf1f3c21db20a Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Sun, 15 Sep 2013 21:26:15 +0000 Subject: [PATCH] Fix #51 --- server.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.d b/server.d index 31078f3..6119188 100644 --- a/server.d +++ b/server.d @@ -174,7 +174,8 @@ string getConfigurationLocation() void warnAboutOldConfigLocation() { - version (linux) if ("~/.config/dcd".expandTilde().isFile()) + version (linux) if ("~/.config/dcd".expandTilde().exists() + && "~/.config/dcd".expandTilde().isFile()) { writeln("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); writeln("!! Upgrade warning:");