diff options
author | warptangent <warptangent@inbox.com> | 2015-08-16 18:16:20 -0700 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-08-16 18:52:54 -0700 |
commit | 7c4d6f1dc62b11cc852ea0cbd9de672a085214c2 (patch) | |
tree | ab42a25efd7ca5f08f50ae9368242366014e78fa /README.i18n | |
parent | epee: Don't set log file name when process path name isn't found (diff) | |
download | monero-7c4d6f1dc62b11cc852ea0cbd9de672a085214c2.tar.xz |
simplewallet: Use default log file name when executable's file path is unknown
Default to "simplewallet.log" in current directory when file path isn't
obtained from epee.
In this situation previously, it defaulted to the file name of ".log"
("" + ".log") in the current directory.
(Thanks to @sammy007 for reporting bug.)
An earlier version yet used "" + "/" + ".log" = "/.log", which resulted
in silently not logging in most cases, due to lack of permission.
Test:
PATH=$PATH:</path/to/simplewallet/folder> && simplewallet --wallet-file /dev/null
This results in epee not finding the executable's file path, so
simplewallet will now use a default log filename.
Diffstat (limited to 'README.i18n')
0 files changed, 0 insertions, 0 deletions