dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/onomondo-eim/+/42832?usp=email )


Change subject: onomondo_eim_app: display current working directory
......................................................................

onomondo_eim_app: display current working directory

It may be useful to know the current working directory, in
particular when debugging problems with the certificate paths

Change-Id: I89d46bac2ff7022b5c5929252e0090a6d77af733
Related: SYS#7093
---
M src/onomondo_eim_app.erl
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/32/42832/1

diff --git a/src/onomondo_eim_app.erl b/src/onomondo_eim_app.erl
index 5394ef5..ffdc68b 100644
--- a/src/onomondo_eim_app.erl
+++ b/src/onomondo_eim_app.erl
@@ -96,6 +96,9 @@
     {ok, Vsn} = application:get_key(onomondo_eim, vsn),
     logger:notice("eIM! version: ~s~n", [Vsn]),

+    {ok, Cwd} = file:get_cwd(),
+    logger:notice("working directory: ~s~n", [Cwd]),
+
     % Startup database
     ok = mnesia_db:init(),


--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42832?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I89d46bac2ff7022b5c5929252e0090a6d77af733
Gerrit-Change-Number: 42832
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to