mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-07-29 01:50:47 +00:00
sashi cli realpath condition fix.
This commit is contained in:
@@ -105,7 +105,7 @@ int parse_cmd(int argc, char **argv)
|
||||
// Take the realpath of sashi cli exec path.
|
||||
{
|
||||
std::array<char, PATH_MAX> buffer;
|
||||
if (!realpath(argv[0], buffer.data()))
|
||||
if (realpath(argv[0], buffer.data()))
|
||||
{
|
||||
exec_dir = dirname(buffer.data());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user