From baa6ddadae3c86068e1576c3640feb49d828ce12 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 10 Aug 2021 17:27:55 +1000 Subject: Switch to toybox xgetcwd() and print the results. --- src/sledjchisl/sledjchisl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sledjchisl') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index ca2927e..8ee85cb 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -7389,7 +7389,8 @@ void sledjchisl_main(void) dbRequests = qlist(0); sigatexit(cleanup); - pwd = getcwd(0, 0); + pwd = xgetcwd(); + I("Running in directory %s", pwd); if (-1 == fstat(STDIN_FILENO, &statbuf)) { -- cgit v1.1