summaryrefslogtreecommitdiffstats
path: root/daemon/pipename.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/pipename.c')
-rw-r--r--daemon/pipename.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/daemon/pipename.c b/daemon/pipename.c
deleted file mode 100644
index 70b6a25b4..000000000
--- a/daemon/pipename.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#include "pipename.h"
-
-#include <stdlib.h>
-
-const char *daemon_pipename(void) {
- const char *pipename = getenv("NETDATA_PIPENAME");
- if (pipename)
- return pipename;
-
-#ifdef _WIN32
- return "\\\\?\\pipe\\netdata-cli";
-#else
- return "/tmp/netdata-ipc";
-#endif
-}