Description: neuter portable_datadir
Forwarded: not needed
Author: Alexandre Detiste
Bug-Debian: https://bugs.debian.org/996484
diff --git a/src/domino-chain/main.cpp b/src/domino-chain/main.cpp
index 139784f..b7dd6bd 100644
--- a/src/domino-chain/main.cpp
+++ b/src/domino-chain/main.cpp
@@ -44,7 +44,7 @@ static std::string getDataDir(void)
   struct stat st;
   if (stat(portable_datadir.c_str(), &st) == 0) {
       std::cout << "Using portable datadir: " << portable_datadir << std::endl;
-      return portable_datadir;
+      return DATADIR;
   } else {
       std::cout << "Using system datadir: " << DATADIR << std::endl;
       return DATADIR;
