aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJulien Dessaux2019-03-27 14:09:12 +0100
committerJulien Dessaux2019-03-27 15:21:16 +0100
commit3b22502cbdfd0f1c2e58d6cb0a394a817a741f49 (patch)
treeb0911a447edf96f990715160e71f94314ec0685b /common
parentAdded uthash as a git submodule (diff)
downloadbastion-3b22502cbdfd0f1c2e58d6cb0a394a817a741f49.tar.gz
bastion-3b22502cbdfd0f1c2e58d6cb0a394a817a741f49.tar.bz2
bastion-3b22502cbdfd0f1c2e58d6cb0a394a817a741f49.zip
Cleaning and reordering.
Diffstat (limited to '')
-rw-r--r--common/config.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/config.h.in b/common/config.h.in
index 189e725..a1fe21b 100644
--- a/common/config.h.in
+++ b/common/config.h.in
@@ -1,7 +1,8 @@
#ifndef COMMON_CONFIG_H_
#define COMMON_CONFIG_H_
-#define CONFIG_PATH "@CMAKE_INSTALL_PREFIX@/etc/bastion/bastion.conf"
+#define CONFIG_DIR "@CMAKE_INSTALL_PREFIX@/etc/bastion/"
+#define CONFIG_PATH CONFIG_DIR "bastion.conf"
#define MAX_HOSTNAME_LENGTH 64
#define MAX_USERNAME_LENGTH 64