Crash on startup when using softlinked PATHs: Closes #7125
This should allow Geary to run on Arch Linux.
This commit is contained in:
parent
cb1421a52b
commit
af0a4c31df
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ along with Geary; if not, write to the Free Software Foundation, Inc.,
|
|||
}
|
||||
|
||||
public override int startup() {
|
||||
exec_dir = (File.new_for_path(Environment.find_program_in_path(args[0]))).get_parent();
|
||||
exec_dir = (File.new_for_path(Posix.realpath(Environment.find_program_in_path(args[0])))).get_parent();
|
||||
|
||||
Geary.Logging.init();
|
||||
Configuration.init(is_installed(), GSETTINGS_DIR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue