diff options
author | onefang | 2021-08-10 17:27:55 +1000 |
---|---|---|
committer | onefang | 2021-08-10 17:27:55 +1000 |
commit | baa6ddadae3c86068e1576c3640feb49d828ce12 (patch) | |
tree | a2000853fc38547644e74551cc77be835297c60f | |
parent | Cleanly symlink the executable by removing it if it exists already. (diff) | |
download | opensim-SC-baa6ddadae3c86068e1576c3640feb49d828ce12.zip opensim-SC-baa6ddadae3c86068e1576c3640feb49d828ce12.tar.gz opensim-SC-baa6ddadae3c86068e1576c3640feb49d828ce12.tar.bz2 opensim-SC-baa6ddadae3c86068e1576c3640feb49d828ce12.tar.xz |
Switch to toybox xgetcwd() and print the results.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
7389 | dbRequests = qlist(0); | 7389 | dbRequests = qlist(0); |
7390 | sigatexit(cleanup); | 7390 | sigatexit(cleanup); |
7391 | 7391 | ||
7392 | pwd = getcwd(0, 0); | 7392 | pwd = xgetcwd(); |
7393 | I("Running in directory %s", pwd); | ||
7393 | 7394 | ||
7394 | if (-1 == fstat(STDIN_FILENO, &statbuf)) | 7395 | if (-1 == fstat(STDIN_FILENO, &statbuf)) |
7395 | { | 7396 | { |